Wireshark-bugs: [Wireshark-bugs] [Bug 4503] New: ERF record with timestamp=0, 1 or 2 doesn't wor
Date: Thu, 18 Feb 2010 07:01:46 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4503

           Summary: ERF record with timestamp=0,1 or 2 doesn't work
           Product: Wireshark
           Version: 1.2.6
          Platform: x86
        OS/Version: Windows Vista
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: fullung@xxxxxxxxx


Created an attachment (id=4301)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=4301)
ERF builder

Build Information:
Version 1.2.6 (SVN Rev 31702)

Copyright 1998-2010 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.18.5, with GLib 2.22.3, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, without libpcre, with SMI 0.4.8,
with c-ares 1.7.0, with Lua 5.1, with GnuTLS 2.8.5, with Gcrypt 1.4.5, with MIT
Kerberos, with GeoIP, with PortAudio V19-devel (built Jan 27 2010), with
AirPcap.

Running on 32-bit Windows Vista Service Pack 1, build 6001, with WinPcap
version
4.1.1 (packet.dll version 4.1.0.1753), based on libpcap version 1.0 branch
1_0_rel0b (20091008), GnuTLS 2.8.5, Gcrypt 1.4.5, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 30729

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.
--
Trying to load an ERF file with one record where the timestamp is 0, 1 or 2
causes problems.

If the timestamp is 0, Wireshark says:

The capture file appears to be damaged or corrupt. (packetlogger: record length
0 is too small)

If the timestamp is 1 or 2, Wireshark crashes.

Any other timestamp works.

Program to make ERF file attached.

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