Wireshark-bugs: [Wireshark-bugs] [Bug 1727] Capture file cut short in middle of packet

Date: Wed, 14 Nov 2007 09:42:12 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1727





------- Comment #3 from florent.drouin@xxxxxxxxxx  2007-11-14 09:42 GMT -------
Created an attachment (id=1112)
 --> (http://bugs.wireshark.org/bugzilla/attachment.cgi?id=1112&action=view)
Patch for wiretap/erf.c

The file_seek() call has been replaced by a call to file_read(), so, when the
end of the file is reached and the current record is truncated, we have got an
error.
This solves the problem of bad file format detection.

Additionaly, the ERF heuristic has been improved.


-- 
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.