Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-clnp.c packet-frame.c packet-ip.c pac

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: Thu, 17 Jan 2002 00:29:19 -0600 (CST)
guy         2002/01/17 00:29:19 CST

  Modified files:
    .                    packet-clnp.c packet-frame.c packet-ip.c 
                         packet-ipv6.c packet-smb-pipe.c 
                         packet-smb.c packet-wtp.c 
  Log:
  Use the "fragmented" field of the "packet_info" structure in
  "dissect_frame()" to indicate whether a ReportedBoundsError was due to
  the packet being malformed (i.e., the packet was shorter than it's
  supposed to be, so the dissector went past the end trying to extract
  fields that were supposed to be there) or due to it not being
  reassembled (i.e., the packet was fragmented, and we didn't reassemble
  it, but just treated the first fragment as the entire packet, so the
  dissector went past the end trying to extract fields that were partially
  or completely in fragments after that).  Mark the latter as being
  unreasembled rather than malformed.
  
  Properly initialize, save, and restore that field, and properly set it,
  so that works.
  
  Revision  Changes    Path
  1.45      +10 -4     ethereal/packet-clnp.c
  1.18      +33 -8     ethereal/packet-frame.c
  1.156     +6 -2      ethereal/packet-ip.c
  1.73      +5 -1      ethereal/packet-ipv6.c
  1.64      +5 -1      ethereal/packet-smb-pipe.c
  1.195     +25 -15    ethereal/packet-smb.c
  1.25      +4 -1      ethereal/packet-wtp.c