mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
96a87b90ef
Fixed CVEs:
CVE-2018-16301
CVE-2019-15161
CVE-2019-15162
CVE-2019-15163
CVE-2019-15164
CVE-2019-15165
Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
(cherry picked from commit 44f11353de
)
14 lines
415 B
Diff
14 lines
415 B
Diff
Fix USB bus path; /proc/bus/usb is deprecated.
|
|
|
|
--- a/pcap-usb-linux.c
|
|
+++ b/pcap-usb-linux.c
|
|
@@ -73,7 +73,7 @@
|
|
#define USB_TEXT_DIR_OLD "/sys/kernel/debug/usbmon"
|
|
#define USB_TEXT_DIR "/sys/kernel/debug/usb/usbmon"
|
|
#define SYS_USB_BUS_DIR "/sys/bus/usb/devices"
|
|
-#define PROC_USB_BUS_DIR "/proc/bus/usb"
|
|
+#define PROC_USB_BUS_DIR "/dev/bus/usb"
|
|
#define USB_LINE_LEN 4096
|
|
|
|
#if __BYTE_ORDER == __LITTLE_ENDIAN
|