Wireshark-bugs: [Wireshark-bugs] [Bug 9598] New: DMX-CHAN disector does not clear strbuf between
Date: Thu, 26 Dec 2013 07:15:28 +0000
Bug ID 9598
Summary DMX-CHAN disector does not clear strbuf between rows
Classification Unclassified
Product Wireshark
Version 1.10.6
Hardware x86-64
OS Windows 8.1
Status UNCONFIRMED
Severity Normal
Priority Low
Component Dissection engine (libwireshark)
Assignee bugzilla-admin@wireshark.org
Reporter stcook.ws@tsuite.net

Created attachment 12385 [details]
Example capture file of dmx-chan traffic.

Build Information:
Version 1.10.5 (SVN Rev 54262 from /trunk-1.10)

Copyright [...]

Compiled (64-bit) with GTK+ 2.24.14, with Cairo 1.10.2, with Pango 1.30.1, with
GLib 2.34.1, with WinPcap (4_1_3), with libz 1.2.5, without POSIX capabilities,
without libnl, with SMI 0.4.8, with c-ares 1.9.1, with Lua 5.1, without Python,
with GnuTLS 2.12.18, with Gcrypt 1.4.6, without Kerberos, with GeoIP, with
PortAudio V19-devel (built Dec 19 2013), with AirPcap.

Running on 64-bit Windows 8, build 9200, with WinPcap version 4.1.3 (packet.dll
version 4.1.0.2980), based on libpcap version 1.0 branch 1_0_rel0b (20091008),
GnuTLS 2.12.18, Gcrypt 1.4.6, without AirPcap.
       Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz, with 3979MB of physical
memory.


Built using Microsoft Visual C++ 10.0 build 40219
--
DMX-CHAN disector does not clear strbuf *chan_str between rows, causing each
subsequent row to contain all the previous rows' values.

Steps to reproduce:
    Open attached capture file.
    Select last packet in file.
    Expand DMX Channels tree.

Expected output:
0x001:   0%  0%  1%  1%  1%  2%  2%  3%   3%  3%  4%  4%  5%  5%  5%  6%
0x011:   6%  7%  7%  7%  8%  8%  9%  9%   9% 10% 10% 10% 11% 11% 12% 12%
0x021:  12% 13% 13% 14% 14% 14% 15% 15%  16% 16% 16% 17% 17% 18% 18% 18%
...

Actual output:
0x001:   0%  0%  1%  1%  1%  2%  2%  3%   3%  3%  4%  4%  5%  5%  5%  6%
0x011:   0%  0%  1%  1%  1%  2%  2%  3%   3%  3%  4%  4%  5%  5%  5%  6%   6% 
7%  7%  7%  8%  8%  9%  9%   9% 10% 10% 10% 11% 11% 12% 12%
0x021:   0%  0%  1%  1%  1%  2%  2%  3%   3%  3%  4%  4%  5%  5%  5%  6%   6% 
7%  7%  7%  8%  8%  9%  9%   9% 10% 10% 10% 11% 11% 12% 12%  12% 13% 13% 14%
14% 14% 15% 15%  16% 16% 16% 17% 17% 18% 18% 18%
...


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