Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107039164
D44580.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
407 B
Referenced Files
None
Subscribers
None
D44580.diff
View Options
diff --git a/contrib/tcpdump/print-pfsync.c b/contrib/tcpdump/print-pfsync.c
--- a/contrib/tcpdump/print-pfsync.c
+++ b/contrib/tcpdump/print-pfsync.c
@@ -86,7 +86,7 @@
{
struct pfsync_header *hdr = (struct pfsync_header *)bp;
- if (len < PFSYNC_HDRLEN)
+ if (len < PFSYNC_HDRLEN || !ND_TTEST_LEN(bp, len))
ND_PRINT("[|pfsync]");
else
pfsync_print(ndo, hdr, bp + sizeof(struct pfsync_header),
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 8:23 AM (12 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15741045
Default Alt Text
D44580.diff (407 B)
Attached To
Mode
D44580: tcpdump: cope with incorrect packet lengths
Attached
Detach File
Event Timeline
Log In to Comment