Guy Harris wrote:
On Apr 4, 2009, at 12:34 PM, gerald@xxxxxxxxxxxxx wrote:
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=27959
User: gerald
Date: 2009/04/04 12:34 PM
Log:
tvbuff.[ch]: Accept more size_t's.
Should people be passing sizeof's to tvb_new_subset(),
tvb_new_real_data(), etc.? There's no guarantee that a C structure
matches a data structure within a packet, due to padding (including
padding at the end of the structure, in some compilers), etc..
Probably not. I'll back out the change.