commit | 38ea1eac7d88072bbffb630e2b3db83ca649b826 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Feb 09 16:37:53 2022 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Feb 11 10:59:17 2022 +0100 |
tree | 9a3d222109493f7efac34eb24e2475463a56d692 | |
parent | 75e5b4849b81e19e9efe1654b30d7f3151c33c2c [diff] |
usb: gadget: rndis: check size of RNDIS_MSG_SET command 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>