Guy Harris wrote:
> On Apr 4, 2009, at 12:34 PM, [email protected] 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.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to