diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-09 16:37:53 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-16 12:44:52 +0100 |
commit | 4c22fbcef778badb00fb8bb9f409daa29811c175 (patch) | |
tree | 75c25aaa23c3ce05f8f1d331792b8ee9943559d9 /lib/jedec_ddr_data.c | |
parent | c7ad83d561df15ac6043d3b0d783aee777cf1731 (diff) |
usb: gadget: rndis: check size of RNDIS_MSG_SET command
commit 38ea1eac7d88072bbffb630e2b3db83ca649b826 upstream.
Check the size of the RNDIS_MSG_SET command given to us before
attempting to respond to an invalid message size.
Reported-by: Szymon Heidrich <szymon.heidrich@gmail.com>
Cc: stable@kernel.org
Tested-by: Szymon Heidrich <szymon.heidrich@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/jedec_ddr_data.c')
0 files changed, 0 insertions, 0 deletions