Wireshark-bugs: [Wireshark-bugs] [Bug 12713] New: CIP dissector crash because of NULL tvb
Date: Fri, 05 Aug 2016 07:55:32 +0000
Bug ID 12713
Summary CIP dissector crash because of NULL tvb
Product Wireshark
Version 2.0.5
Hardware x86-64
OS Windows 7
Status UNCONFIRMED
Severity Major
Priority Low
Component Dissection engine (libwireshark)
Assignee bugzilla-admin@wireshark.org
Reporter gitmaster@passific.fr

Created attachment 14791 [details]
CIP frames sample to reproduce the bug

Build Information:
Version 2.0.5

Copyright 1998-2016 Gerald Combs <gerald@wireshark.org> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
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 Qt 5.5.1, with WinPcap (4_1_3), with libz 1.2.8, with
GLib 2.42.0, with SMI 0.4.8, with c-ares 1.11.0, with Lua 5.2, with GnuTLS
3.2.15, with Gcrypt 1.6.2, with MIT Kerberos, with GeoIP, with QtMultimedia,
with AirPcap.

Running on 64-bit Windows 7 Service Pack 1, build 7601, with locale
French_France.1252, with WinPcap version 4.1.3 (packet.dll version 4.1.0.2980),
based on libpcap version 1.0 branch 1_0_rel0b (20091008), with GnuTLS 3.2.15,
with Gcrypt 1.6.2, with AirPcap 4.1.0 build 1622.
Intel(R) Core(TM) i7-4600M CPU @ 2.90GHz (with SSE4.2), with 7817MB of physical
memory.


Built using Microsoft Visual C++ 12.0 build 31101

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

Check the man page and http://www.wireshark.org for more information.
--
New checks done in function proto_tree_add_text_valist_internal (proto.c), make
CIP dissector to crash because function proto_tree_add_subtree is called with a
NULL tvb.

Worked OK in Wireshark 2.0.4

The workaround I used is to give the current tvb, as the start and length
parameters are 0.


You are receiving this mail because:
  • You are watching all bug changes.