Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-rsvp.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: Wed, 31 Jul 2002 05:10:46 -0500 (CDT)
guy         2002/07/31 05:10:45 CDT

  Modified files:
    .                    packet-rsvp.c 
  Log:
  Don't loop forever in "find_rsvp_session_tempfilt()" or
  "dissect_rsvp_msg_tree()" if there's a zero-length object.
  
  In "find_rsvp_session_tempfilt()", check to make sure the data exists
  before fetching it, so that it doesn't throw an exception - the
  information it returns is only used to put items into the protocol tree,
  so there's no reason to quit dissecting the packet just because it can't
  find that information because, for example, not enough of the packet
  data was captured.
  
  Revision  Changes    Path
  1.71      +10 -3     ethereal/packet-rsvp.c