Wireshark mailing list archives
Re: [Wireshark-commits] rev 54652: /trunk/ /trunk/: tfshark.c
From: Guy Harris <guy () alum mit edu>
Date: Wed, 8 Jan 2014 01:07:02 -0800
On Jan 7, 2014, at 9:40 PM, guy () wireshark org 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 <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Re: [Wireshark-commits] rev 54652: /trunk/ /trunk/: tfshark.c Guy Harris (Jan 08)