Re: tcpdump 3.4 bug?

From: Markus Peuhkuri (puhuriat_private)
Date: Fri Jun 18 1999 - 03:16:33 PDT

  • Next message: Ethan Benatan: "Re: Diversity"

    acpizer <acpizerat_private> 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.Peuhkuriat_private ! http://www.iki.fi/puhuri/
    



    This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 14:49:57 PDT