URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7b169cdedd93d5bc072e6582dde6430457ece505
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
7b169cd by Guy Harris (guy@xxxxxxxxxxxx):
Don't treat short reads as errors when checking the file type.
A short read isn't a clear error when you don't have a magic number and
are doing "does this look somewhat like a file of this type" test, it's
probably an indication that it's *not* a file of that type.
Change-Id: Iab2f32e7d169a777c50a36958eeb4e82a3809227
Reviewed-on: https://code.wireshark.org/review/25602
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from df088de Docs: Make our AsciiDoc markup more compatible with AsciiDoctor.
adds 7b169cd Don't treat short reads as errors when checking the file type.
Summary of changes:
wiretap/vwr.c | 2 ++
1 file changed, 2 insertions(+)