Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-afp.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Sep 2002 20:10:03 -0500 (CDT)
guy         2002/09/17 20:10:03 CDT

  Modified files:
    .                    packet-afp.c 
  Log:
  From Didier Gautheron: bail out in "loop_record()" if the size of the
  structure to be dissected is 0.
  
  Also, in "loop_record()":
  
  	Make the variable in which that size is stored a "guint" to
  	avoid overflows.
  
  	Free up the name string as soon as we're done with it, so that
  	we won't leak it if we throw an exception.
  
  Revision  Changes    Path
  1.22      +5 -5      ethereal/packet-afp.c