On Jan 7, 2014, at 9:40 PM, [email protected] wrote:

> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=54652
> 
> User: guy
> Date: 2014/01/08 05:40 AM
> 
> Log:
> Sorry, the bytes-to-read argument to file_read() is unsigned int, so
> cast packet_size to unsigned int.  Yes, that means that it can't read
> more than 65535 bytes.

Sorry, I was distracted when I checked that in.  That means it can't read more 
than *4294967295* bytes - and, as it has a similar signature to read(), it 
returns an int, and thus shouldn't be asked to read more than 2147483647 bytes.
___________________________________________________________________________
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