URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=606fc4518c33d49db4a97ff1256e1a8b150fddce
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark
Commits:
606fc45 by Guy Harris (guy@xxxxxxxxxxxx):
Check for packets bigger than WTAP_MAX_PACKET_SIZE.
And note the cases where we don't have to check, as the length in the
file is 2 bytes long, and 65535 + the metadata length is <
WTAP_MAX_PACKET_SIZE.
Change-Id: I1e690eeee900b9aa7484dc0bd0c106dc38c77269
Reviewed-on: https://code.wireshark.org/review/15180
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
(cherry picked from commit 5635d9a02dff05dded9c40e34520a7e309789af6)
Reviewed-on: https://code.wireshark.org/review/15181
Actions performed:
from 4a098bb Fix packet length handling.
adds 606fc45 Check for packets bigger than WTAP_MAX_PACKET_SIZE.
Summary of changes:
wiretap/vwr.c | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)