diff options
author | 2022-01-24 12:14:00 +0100 | |
---|---|---|
committer | 2022-02-11 10:59:12 +0100 | |
commit | 75e5b4849b81e19e9efe1654b30d7f3151c33c2c (patch) | |
tree | 4fce51754f077d11690321fb886a0c953c986e7b /scripts/gdb/linux/utils.py | |
parent | usb: core: Unregister device on component_add() failure (diff) | |
download | wireguard-linux-75e5b4849b81e19e9efe1654b30d7f3151c33c2c.tar.xz wireguard-linux-75e5b4849b81e19e9efe1654b30d7f3151c33c2c.zip |
USB: gadget: validate interface OS descriptor requests
Stall the control endpoint in case provided index exceeds array size of
MAX_CONFIG_INTERFACES or when the retrieved function pointer is null.
Signed-off-by: Szymon Heidrich <szymon.heidrich@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions