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

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxx>
Date: Thu, 12 Jun 2003 02:37:30 -0500 (CDT)
guy         2003/06/12 02:37:30 CDT

  Modified files:
    .                    packet-fw1.c 
  Log:
  There are 10 bytes of interface name in the header; make the buffer for
  the interface name 10+1 bytes (1 byte for a terminating null - we
  mustn't assume there's one in the header, as *no* Ethereal dissector
  should ever make assumptions about file contents that would cause
  misbehavior) rather than 20 bytes (the extra 9 bytes wouldn't be used
  and aren't necessary), and pass the size of the buffer to
  "tvb_get_nstringz0()" rather than the size of the field in the packet.
  
  Revision  Changes    Path
  1.7       +3 -3      ethereal/packet-fw1.c