Ethereal-cvs: [Ethereal-cvs] rev 15188: /trunk/epan/dissectors/: packet-dcerpc.c

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

Date: Tue, 02 Aug 2005 07:26:59 GMT
User: ulfl
Date: 2005/08/02 02:26 AM

Log:
 bugfix: in an attepmt to fix a crash while doing reassemling of connection oriented packets, some weeks ago I've added some tvb_ensure_bytes_exist() calls to test the case that the alloc_hint value is bogus (found in private fuzz testing).
 
 Unfortunately, this is *very* safe now as it will mark a lot of DCE/RPC packets as malformed, thus the reassembling code won't work with most packets :-(
 
 I've replaced this with the correct check and used THROW(ReportedBoundsError) instead which is hopefully the right error in this case.
 
 BTW: could someone please add a description of the ReportedBoundsError vs. BoundsError to the code as I still don't get it.
 
 In addition: Use a toplevel tree item to display the DCE/RPC defragmentation just as it's done in the TCP desegmentation code.

Directory: /trunk/epan/dissectors/
  Changes    Path               Action
  +31 -15    packet-dcerpc.c    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=15188&view=rev