Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-udp.c packet-udp.h packet-msproxy.c p

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Thu, 22 Jan 2004 14:43:17 -0600 (CST)
guy         2004/01/22 14:43:17 CST

  Modified files:
    .                    packet-udp.c packet-udp.h 
                         packet-msproxy.c packet-socks.c 
  Log:
  Use the length field in the UDP header:
  
  	if it's < 8, don't dissect anything past the length field (the
  	length must be >= 8);
  
  	otherwise, if it's less than the data or reported length from
  	the tvbuff, use the length from the header;
  
  	otherwise, don't checksum the packet (if it's greater than the
  	reported length, and the packet isn't fragmented, we should
  	somehow report that as an error).
  
  Revision  Changes    Path
  1.112     +29 -9     ethereal/packet-udp.c
  1.9       +2 -2      ethereal/packet-udp.h
  1.38      +2 -2      ethereal/packet-msproxy.c
  1.56      +2 -2      ethereal/packet-socks.c