]> git.pld-linux.org Git - packages/tcpdump.git/blob - tcpdump-iphl.patch
- release 2,
[packages/tcpdump.git] / tcpdump-iphl.patch
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.035053 seconds and 3 git commands to generate.