Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] rev 27945: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Fri, 03 Apr 2009 16:53:41 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=27945

User: guy
Date: 2009/04/03 09:53 AM

Log:
 Don't reply on an argument of -1 as the last argument of tvb_memcpy()
 meaning "to the end of the tvbuff"; we'd like to get rid of the "-1
 means to the end of the tvbuff" convention, as in many cases the length
 comes from a 32-bit length field in the packet, and we want 0xFFFFFFFF
 to be treated, even on ILP32 platforms, as meaning "2^32-1 bytes",
 probably giving an exception, rather than as "to the end of the packet".

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