Wireshark-bugs: [Wireshark-bugs] [Bug 2359] New: Failure to detect/open valid ERF files

Date: Thu, 13 Mar 2008 22:08:16 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2359

           Summary: Failure to detect/open valid ERF files
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Medium
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: stephen@xxxxxxxxxx


Build Information:
SVN HEAD (revision 24619)
--
The erf_open function in wiretap/erf.c performs heuristic tests to determine if
a file is an ERF trace file. It currently requires that rlen be greater than
wlen, which is incorrect. rlen may be shorter than wlen when the 'snaplength'
is configured less than the packet wire length.

This causes Wireshark/Tshark etc to be unable to open certain valid ERF files.

This patch removes the rlen > wlen test.


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