URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5d61115b6c21066eb7afb699cc3ed68292f9f286
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark
Commits:
5d61115 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: If7937dacae2d5bd4b6d3cfffe9515e013a2a46e9
Reviewed-on: https://code.wireshark.org/review/15182
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 7ffa659 Fix packet length handling.
adds 5d61115 Check for packets bigger than WTAP_MAX_PACKET_SIZE.
Summary of changes:
wiretap/vwr.c | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)