1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/wireshark/fix-udpdump.patch
TBK dc95667bf9 community/wireshark: upgrade to 3.0.1
The GTK subpackages has been dropped since upstream has dropped GTK. UI is now Qt only.

Fixes the following CVEs:
- CVE-2019-10897
- CVE-2019-10898
- CVE-2019-10900
- CVE-2019-10902
2019-05-11 07:13:00 +00:00

13 lines
257 B
Diff

--- a/extcap/udpdump.c
+++ b/extcap/udpdump.c
@@ -50,6 +50,10 @@
#include <wsutil/inet_addr.h>
#include <wsutil/filesystem.h>
+#ifdef HAVE_SYS_TIME_H
+ #include <sys/time.h>
+#endif
+
#define PCAP_SNAPLEN 0xffff
#define UDPDUMP_DEFAULT_PORT 5555