URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a44eece9aaea9a4e6a854d7897fc0c4cebf65084
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
a44eece by Guy Harris (guy@xxxxxxxxxxxx):
Check for read errors by checking for PCAPNG_BLOCK_ERROR.
Check for "is an error" rather than "isn't OK".
Change-Id: Ib8f4ac44f70d71ff44658801e01807344032dd60
Reviewed-on: https://code.wireshark.org/review/25603
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 7b169cd Don't treat short reads as errors when checking the file type.
adds a44eece Check for read errors by checking for PCAPNG_BLOCK_ERROR.
Summary of changes:
wiretap/pcapng.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)