Files
Linux/drivers/usb/class
Johan Hovold 2e47c53503 USB: usbtmc: fix probe error path
Make sure to initialise the return value to avoid having allocation
failures going unnoticed when allocating interrupt-endpoint resources.

This prevents use-after-free or worse when the device is later unbound.

Fixes: dbf3e7f654 ("Implement an ioctl to support the USMTMC-USB488 READ_STATUS_BYTE operation.")
Cc: stable <[email protected]>     # 4.6
Cc: Dave Penkler <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2017-03-17 13:22:58 +09:00
..
2016-11-21 11:36:16 +01:00
…
…
2017-03-17 13:22:58 +09:00