Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-rpc.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: Mon, 2 Jul 2001 21:05:48 -0500 (CDT)
guy         2001/07/02 21:05:48 CDT

  Modified files:
    .                    packet-rpc.c 
  Log:
  Get rid of "tvb_bytes_exist()" calls that aren't protecting against
  throwing an exception before we've decided whether a packet is an RPC
  packet or not - dissectors shouldn't, by and large, carefully avoid
  having tvbuff accessors throw exceptions, they should let them throw
  exceptions so that the frame is properly flagged as having been too
  short.
  
  Revision  Changes    Path
  1.64      +24 -34    ethereal/packet-rpc.c