Wireshark-dev: Re: [Wireshark-dev] [Wireshark-bugs] [Bug 1301] New: File Open dialog preview ne
From: "Luis Ontanon" <luis.ontanon@xxxxxxxxx>
Date: Sun, 14 Jan 2007 07:13:26 +0100
fixed in revision 20424

On 1/14/07, bugzilla-daemon@xxxxxxxxxxxxx <bugzilla-daemon@xxxxxxxxxxxxx> wrote:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1301

           Summary: File Open dialog preview needs > 3s for large invalid
                    files and appears dead
           Product: Wireshark
           Version: SVN
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: ulf.lamping@xxxxxx


Build Information:
SVN 20423
--
While browsing files with the File Open dialog, some very large files (in this
case a virtual harddisk (IE6Test.vhd) file) need much longer than the preview
timeout in the Preferences - and looks like dead to the uninformed user.

If you wait long enough, an error will show up in the preview fields:
Lucent/Ascend access server trace
1487377408 bytes
error after reading 0 packets

Please note that the file size is in fact correct.

Without digging deeper into it, I guess the wiretap library tries to read the
first packet and found no "end of packet" marker until iterating till the end
of the file.

We might need to add a check here, "stop to read a packet after n bytes", while
n is the largest possible packet size plus a safety margin.


--
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Wireshark-bugs mailing list
Wireshark-bugs@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-bugs



--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan