Wireshark-bugs: [Wireshark-bugs] [Bug 6245] New: tshark run with -Tpdml makes a seg fault
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6245
Summary: tshark run with -Tpdml makes a seg fault
Product: Wireshark
Version: 1.6.1
Platform: Other
OS/Version: Windows 7
Status: NEW
Severity: Major
Priority: Low
Component: TShark
AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
ReportedBy: wireshark@xxxxxxxxxxxxxxxx
Build Information:
TShark 1.6.1 (SVN Rev Unknown from unknown)
Copyright 1998-2011 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 (64-bit) with GLib 2.22.5, with libpcap 1.0.0, with libz 1.2.3, with
POSIX capabilities (Linux), without libpcre, without SMI, without c-ares,
without ADNS, without Lua, without Python, with GnuTLS 2.8.6, with Gcrypt
1.4.5,
without Kerberos, without GeoIP.
Running on Linux 2.6.33.4, with libpcap version 1.0.0, with libz 1.2.3.
Built using gcc 4.4.4.
--
Previously:
root@tod:~/wireshark-1.6.1# tshark -i eth0 -Tpdml
Segmentation fault
gdb told me:
Program received signal SIGSEGV, Segmentation fault.
write_preamble (cf=0x0) at tshark.c:2971
2971 write_pdml_preamble(stdout, cf->filename);
Fixed it by patching tshark.c, line 2971:
write_pdml_preamble(stdout, cf->filename);
into:
write_pdml_preamble(stdout, cf ? cf->filename : NULL);
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.