Wireshark-commits: [Wireshark-commits] master-1.10 7199e55: Set err_info if the attempts to read re
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7199e55babfa6f301398033b2a9a2b4948bf9339
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark
Commits:
7199e55 by Guy Harris (guy@xxxxxxxxxxxx):
Set err_info if the attempts to read record headers fail.
If it fails due to, for example, the file being gzipped and having a bad
gzip CRC, the error returned is WTAP_ERR_DECOMPRESS and, for that error,
err_info is expected to be set to a string giving details of the
problem, so we need to pass back to our caller the string in question.
Bug: 10484
Change-Id: Ifa3139d2f28fadbc745c51611488865e97bcccb3
Reviewed-on: https://code.wireshark.org/review/4203
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 62de7e3 GTPv2: further fixes for Trace Information IE dissection
adds 7199e55 Set err_info if the attempts to read record headers fail.
Summary of changes:
wiretap/libpcap.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)