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

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

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Sun, 18 Apr 2004 13:55:14 -0500 (CDT)
guy         2004/04/18 13:55:14 CDT

  Modified files:
    .                    packet-rtps.c 
  Log:
  Make "little_endian" local to the routines to parse submessages.
  
  Before checking for the "RTPS" tag, make sure we have at least 4 bytes
  in the message.
  
  Use "tvb_reported_length()" to get the length of the message, so we
  throw an exception on a packet cut short by a snapshot length.
  
  Put in a comment asking whether the byte order of the "offset to next
  submessage" field is little-endian or specified by the E bit.
  
  Revision  Changes    Path
  1.4       +15 -6     ethereal/packet-rtps.c