summaryrefslogtreecommitdiff
path: root/lib/flex_array.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-09 16:37:53 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-16 12:44:52 +0100
commit4c22fbcef778badb00fb8bb9f409daa29811c175 (patch)
tree75c25aaa23c3ce05f8f1d331792b8ee9943559d9 /lib/flex_array.c
parentc7ad83d561df15ac6043d3b0d783aee777cf1731 (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/flex_array.c')
0 files changed, 0 insertions, 0 deletions