On Thu, May 30, 2002 at 03:40:21PM -0700, Guy Harris wrote:
>       /* True if  "l" bytes of "var" were captured */
>       #define TTEST2(var, l) (snapend - (l) < snapend && \
>               (const u_char *)&(var) <= snapend - (l))
> 
> should handle that case

Unfortunately, it breaks some calls to TCHECK2 with a zero second
argument, so I checked in

        #define TTEST2(var, l) (snapend - (l) <= snapend && \
                                (const u_char *)&(var) <= snapend - (l))

instead.

(The Red Hat fix was cheesier - it just checked for l < 65535.)

I also, while testing it, found some bugs in the NFS print routines, and
checked in fixes for them as well.

Those are checked into the main branch and the 3.7 branch.

Perhaps it's time to put out libpcap 0.7.2 and tcpdump 3.7.2, as there
are a number of bug fixes checked into the 0.7 and 3.7 branches.
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to