diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-10-08 13:50:17 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-10-08 20:50:42 +0000 |
commit | 21e844bd82783a753235a770c1259ac645108e41 (patch) | |
tree | 4827bbbdc526a3ff39ffb7b181f4d9bbd4c1f6c8 /wiretap/wtap.c | |
parent | c303a2ebf5906b8fdd93e149265383d0d07fdea0 (diff) | |
download | wireshark-21e844bd82783a753235a770c1259ac645108e41.tar.gz |
Use WTAP_ERR_BAD_FILE for malformed compressed data in DOS Sniffer files.
Get rid of WTAP_ERR_UNC_TRUNCATED and WTAP_ERR_UNC_BAD_OFFSET, and lump
them under WTAP_ERR_BAD_FILE, with an error string; they're just another
form of "this file isn't a valid file of the type in question".
Change-Id: I0e9ac7c2ee66c8d789234a301c1dc2173aef1312
Reviewed-on: https://code.wireshark.org/review/4562
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap/wtap.c')
-rw-r--r-- | wiretap/wtap.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/wiretap/wtap.c b/wiretap/wtap.c index 30ed6a2420..88b587e12a 100644 --- a/wiretap/wtap.c +++ b/wiretap/wtap.c @@ -855,15 +855,9 @@ static const char *wtap_errlist[] = { /* WTAP_ERR_SHORT_WRITE */ "Less data was written than was requested", - /* WTAP_ERR_UNC_TRUNCATED */ - "Uncompression error: data oddly truncated", - /* WTAP_ERR_UNC_OVERFLOW */ "Uncompression error: data would overflow buffer", - /* WTAP_ERR_UNC_BAD_OFFSET */ - "Uncompression error: bad LZ77 offset", - /* WTAP_ERR_RANDOM_OPEN_STDIN */ "The standard input cannot be opened for random access", |