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

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

Date: Sat, 10 Sep 2005 15:11:24 GMT
User: ulfl
Date: 2005/09/10 10:11 AM

Log:
 fix DCE/RPC defragmentation, if both middle and last DCE/RPC fragments are in the same TCP desegmented data blob
 
 reassemble.c:
 I had to change the way the reassemble code works if the dissector is telling that more fragments *will* follow. In this case the reassemble code shouldn't try to reassemble already at that time ...
 
 I've also changed the way if a fragment was already seen or not, as it's not enough to check for the frame number, in the scenario described above.
 
 Unfortunately both changes *might* broke other protocols from reassemble properly. I've checked with excessive TCP desegmentation and it's still working without any changes :-)
 
 packet-dcerpc.c:
 use a tvb subset to limit the "end of bytes" processed in a single fragment dissect run, as each fragment has it's own DCE/RPC header (and isn't part of the stub data of the previous packet).

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

Directory: /trunk/epan/
  Changes    Path            Action
  +26 -1     reassemble.c    Modified



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