[10854] in bugtraq

home help back first fref pref prev next nref lref last post

Re: tcpdump 3.4 bug?

daemon@ATHENA.MIT.EDU (Markus Peuhkuri)
Fri Jun 18 12:49:08 1999

Message-Id: <mcun1xxzuda.fsf@ws18.tct.hut.fi>
Date: 	Fri, 18 Jun 1999 13:16:33 +0300
Reply-To: Markus Peuhkuri <puhuri@TCT.HUT.FI>
From: Markus Peuhkuri <puhuri@TCT.HUT.FI>
To: BUGTRAQ@NETSPACE.ORG
In-Reply-To:  acpizer's message of Thu, 17 Jun 1999 12:19:06 +0100

acpizer <acpizer@MACH.UNSEEN.ORG> writes:

> since routers drop the bad packet it creates, a more constuctive patch for
...
> +         if (ip->ip_hl == 0) {

	Actualy, as the minimum length is 5*4 bytes that could be as
well "if (ip->ip_hl < 5) {".  If it is shorter it is bad anyway.

--
Markus Peuhkuri ! Markus.Peuhkuri@hut.fi ! http://www.iki.fi/puhuri/

home help back first fref pref prev next nref lref last post