]> git.pld-linux.org Git - packages/tcpdump.git/blame - tcpdump-iphl.patch
- release 2,
[packages/tcpdump.git] / tcpdump-iphl.patch
CommitLineData
d1ed7138 1--- tcpdump-3.4/print-ip.c.iphl Fri Aug 20 17:37:59 1999
2+++ tcpdump-3.4/print-ip.c Fri Aug 20 17:39:05 1999
3@@ -463,6 +463,10 @@
4 (void)printf("truncated-ip %d", length);
5 return;
6 }
7+ if (ip->ip_hl < 5) {
8+ (void)printf("ip_hl < 5 (%d)", ip->ip_hl);
9+ return;
10+ }
11 hlen = ip->ip_hl * 4;
12
13 len = ntohs(ip->ip_len);
This page took 0.020555 seconds and 4 git commands to generate.