--- tcpdump-3.4/print-ip.c.iphl Fri Aug 20 17:37:59 1999 +++ tcpdump-3.4/print-ip.c Fri Aug 20 17:39:05 1999 @@ -463,6 +463,10 @@ (void)printf("truncated-ip %d", length); return; } + if (ip->ip_hl < 5) { + (void)printf("ip_hl < 5 (%d)", ip->ip_hl); + return; + } hlen = ip->ip_hl * 4; len = ntohs(ip->ip_len);