linux/drivers/usb/class
Guido Kiener 100f2cdead usb: usbtmc: Fix memory leak in usbtmc_ioctl_request
Kernel memory is allocated twice in new function
usbtmc_ioctl_request and creates a memory leak.
This fix removes the superfluous kmalloc().

Signed-off-by: Guido Kiener <guido.kiener@rohde-schwarz.com>
Fixes: 658f24f452 ("usb: usbtmc: Add ioctl for generic requests on control")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-28 15:12:08 +02:00
..
cdc-acm.c Revert "cdc-acm: implement put_char() and flush_chars()" 2018-09-10 20:40:29 +02:00
cdc-acm.h Revert "cdc-acm: implement put_char() and flush_chars()" 2018-09-10 20:40:29 +02:00
cdc-wdm.c usb: cdc-wdm: Fix a sleep-in-atomic-context bug in service_outstanding_interrupt() 2018-09-05 14:48:40 +02:00
Kconfig usb: fix some references for /proc/bus/usb 2017-04-18 16:54:19 +02:00
Makefile USB: add SPDX identifiers to all remaining Makefiles 2017-11-07 15:53:48 +01:00
usblp.c usb: usblp: use irqsave() in USB's complete callback 2018-06-28 19:36:06 +09:00
usbtmc.c usb: usbtmc: Fix memory leak in usbtmc_ioctl_request 2018-09-28 15:12:08 +02:00