aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorSzymon Heidrich <[email protected]>2022-01-24 11:14:00 +0000
committerGreg Kroah-Hartman <[email protected]>2022-02-11 09:59:12 +0000
commit75e5b4849b81e19e9efe1654b30d7f3151c33c2c (patch)
tree4fce51754f077d11690321fb886a0c953c986e7b /net/unix/af_unix.c
parentusb: core: Unregister device on component_add() failure (diff)
downloadkernel-75e5b4849b81e19e9efe1654b30d7f3151c33c2c.tar.gz
kernel-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 <[email protected]> Cc: [email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions