android_kernel_sony_sdm845/tools/usb/usbip/libsrc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hewenliang da80ba7f99 usbip: tools: fix fd leakage in the function of read_attr_usbip_status
commit 26a4d4c00f85cb844dd11dd35e848b079c2f5e8f upstream.

We should close the fd before the return of read_attr_usbip_status.

Fixes: 3391ba0e27 ("usbip: tools: Extract generic code to be shared with vudc backend")
Signed-off-by: Hewenliang <hewenliang4@huawei.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20191025043515.20053-1-hewenliang4@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-28 18:29:05 +01:00
..
list.h Replace mentions of "list_struct" to "list_head" 2014-11-20 14:45:15 +01:00
Makefile.am usbip: tools: Add vudc backend to usbip tools 2016-04-26 15:19:50 -07:00
names.c
names.h
sysfs_utils.c
sysfs_utils.h
usbip_common.c usbip: Fix potential format overflow in userspace tools 2018-01-31 12:55:50 +01:00
usbip_common.h usbip: tools: Add vudc backend to usbip tools 2016-04-26 15:19:50 -07:00
usbip_device_driver.c usbip: tools: Add vudc backend to usbip tools 2016-04-26 15:19:50 -07:00
usbip_device_driver.h usbip: tools: Add vudc backend to usbip tools 2016-04-26 15:19:50 -07:00
usbip_host_common.c usbip: tools: fix fd leakage in the function of read_attr_usbip_status 2019-11-28 18:29:05 +01:00
usbip_host_common.h usbip: tools: Extract generic code to be shared with vudc backend 2016-04-26 15:19:50 -07:00
usbip_host_driver.c usbip: tools: Extract generic code to be shared with vudc backend 2016-04-26 15:19:50 -07:00
usbip_host_driver.h usbip: tools: Extract generic code to be shared with vudc backend 2016-04-26 15:19:50 -07:00
vhci_driver.c usbip: prevent vhci_hcd driver from leaking a socket pointer address 2018-01-31 12:55:50 +01:00
vhci_driver.h