Wireshark-commits: [Wireshark-commits] rev 27945: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-ber.c
From:
guy@xxxxxxxxxxxxx
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