Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 5802] Rewrite&cleanup wiretap/file_wrappers

Date: Sun, 10 Apr 2011 13:53:30 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5802

--- Comment #38 from Jakub Zawadzki <darkjames@xxxxxxxxxxxxxxxx> 2011-04-10 13:53:29 PDT ---
Created an attachment (id=6155)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=6155)
Delay error reporting

Different patch for truncated gzip files, it works for me.

In gzip streams even if in middle of inflating error occur (stream corrupted,
stream truncated, bad CRC, etc..) return data which we decompressed without
error.
Later if we have no data to satisfy request return error.


Actually this patch IMHO is HUGE mistake cause we should fail if e.g. CRC32 is
invalid, but if you really care about broken gzip files...

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.