aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorOliver Neukum <[email protected]>2016-03-16 13:26:17 +0100
committerGreg Kroah-Hartman <[email protected]>2016-03-18 09:19:02 -0700
commit0b818e3956fc1ad976bee791eadcbb3b5fec5bfd (patch)
tree87540d681d17237c4a19fcb67e4142243959eeea /lib/test-string_helpers.c
parent7222c832254a75dcd67d683df75753d4a4e125bb (diff)
USB: usb_driver_claim_interface: add sanity checking
Attacks that trick drivers into passing a NULL pointer to usb_driver_claim_interface() using forged descriptors are known. This thwarts them by sanity checking. Signed-off-by: Oliver Neukum <[email protected]> CC: [email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions