ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 2873] New: ISO SSAP: ActivityStart: Invalid decoding the a

Date: Mon, 15 Sep 2008 04:27:48 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2873

           Summary: ISO SSAP: ActivityStart: Invalid decoding the activity
                    parameter as a BER Integer
           Product: Wireshark
           Version: 1.0.3
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: zosrothko@xxxxxxxxx


Build Information:
Version 1.0.3 (SVN Rev 26134)

Copyright 1998-2008 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.12.8, with GLib 2.14.6, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, with libpcre 7.0, with SMI 0.4.8,
with ADNS, with Lua 5.1, with GnuTLS 2.3.8, with Gcrypt 1.4.1, with MIT
Kerberos, with PortAudio V19-devel, with AirPcap.

Running on Windows XP Service Pack 2, build 2600, with WinPcap version 4.0.2
(packet.dll version 4.0.0.1040), based on libpcap version 0.9.5, without
AirPcap.

Built using Microsoft Visual C++ 6.0 build 8804

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

Check the man page and http://www.wireshark.org for more information.
--
Hi

The dissector for the ActivityParameter of the ACTIVITY-START SPDU is using the
BER-Integer dissector while the activity parameter is in no case a BER encoded
integer (it could be a string or whatever decided by the SSAP peer)


>From packet-ses.c, line 665

        case Activity_Identifier:
                if (param_len == 0)
                        break;
                if (tree)
                {
                        dissect_ber_integer(FALSE, &asn1_ctx, param_tree, tvb,
offset,
                            hf_activity_identifier, NULL);
                }
                break;


Cheers

zos


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