Wireshark-bugs: [Wireshark-bugs] [Bug 6328] New: packet-csn1.c doesn't process CSN_CHOICE entrie
Date: Fri, 9 Sep 2011 09:55:39 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6328

           Summary: packet-csn1.c doesn't process CSN_CHOICE entries
                    properly
           Product: Wireshark
           Version: SVN
          Platform: x86-64
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=6978)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=6978)
Patch for the bug

Build Information:
wireshark 1.7.0

Copyright 1998-2011 Gerald Combs <[email protected]> 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 GTK+ 2.24.4, with Cairo 1.10.2, with Pango 1.28.4, with
GLib 2.28.8, with libpcap 1.1.1, with libz 1.2.5, with POSIX capabilities
(Linux), with threads support, without SMI, without c-ares, without ADNS, with
Lua 5.1, with Python 2.7.1, with GnuTLS 2.10.5, with Gcrypt 1.4.6, without
Kerberos, without GeoIP, without PortAudio, without AirPcap.

Running on Linux 2.6.38-gentoo-r6, without locale, with libpcap version 1.1.1,
with libz 1.2.5, GnuTLS 2.10.5, Gcrypt 1.4.6.

Built using gcc 4.4.5.

--
The packet-csn1.c helper has a typo that prevent the recursive call to
csnDissector with the CHOICE entries to be processed.

Basically for the recursive call it create a new list dynamically, with the
first entry [0] being the type chose by the CHOICE and entry [1] being an 'END'
tag. But a typo places the END tag first causing the recursive call to do
nothing.

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