Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal AUTHORS packet-isup.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: Fri, 2 Jul 2004 03:27:25 -0500 (CDT)
guy         2004/07/02 03:27:25 CDT

  Modified files:
    .                    AUTHORS packet-isup.c 
  Log:
  From Martin van der Werff: don't do "tvb_ensure_length_remaining()" to
  create the parameter tvbuff, as that requires that there's at least one
  byte of parameter data, and some messages have no parameters and would
  cause an exception to be thrown in that case.
  
  Just use -1 for the length parameters when creating the parameter
  tvbuff, so that it includes the full reported length.
  
  Don't put undissected parameter information into the protocol tree if
  there aren't any parameters - and don't bother getting the number of
  bytes of parameter information unless we're putting undissected
  parameter information into the protocol tree and need it to see whether
  there are any parameters.
  
  Revision  Changes    Path
  1.1045    +1 -0      ethereal/AUTHORS
  1.62      +11 -6     ethereal/packet-isup.c