Wireshark-bugs: [Wireshark-bugs] [Bug 1301] New: File Open dialog preview needs > 3s for large i
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.