Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-ethertype.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: Thu, 18 Jan 2001 02:38:11 -0600 (CST)
guy         2001/01/18 02:38:11 CST

  Modified files:
    .                    packet-ethertype.c 
  Log:
  In "ethertype()", catch exceptions from the dissector we call, and, if
  we get an exception, add in any trailer we and then rethrow the
  exception, so that the trailer will be put into the tree even if some
  subdissector threw an exception.  (Yes, an exception can be thrown even
  in a frame with a trailer; you could have a frame, all of which was
  captured, that has an IP datagram containing a UDP datagram, and if the
  UDP payload isn't big enough for the type of packet it's supposed to be,
  a ReportedBoundsError exception can be thrown.)
  
  Revision  Changes    Path
  1.11      +62 -12    ethereal/packet-ethertype.c