Wireshark-bugs: [Wireshark-bugs] [Bug 1820] New: ANSI MAP systemMyTypeCode should be OPTIONAL

Date: Tue, 4 Sep 2007 03:59:07 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1820

           Summary: ANSI MAP systemMyTypeCode should be OPTIONAL
           Product: Wireshark
           Version: 0.99.6
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Medium
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: peter.leeming@xxxxxx


Build Information:
Version 0.99.6a (SVN Rev 22276)

Copyright 1998-2007 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.10.12, with GLib 2.12.12, with WinPcap (version unknown),
with libz 1.2.3, with libpcre 6.4, with Net-SNMP 5.4, with ADNS, with Lua 5.1,
with GnuTLS 1.6.1, with Gcrypt 1.2.3, with MIT Kerberos, with PortAudio
PortAudio V19-devel, with AirPcap.

Running on Windows XP Service Pack 2, build 2600, with WinPcap version 4.0.1
(packet.dll version 4.0.0.901), 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.
--
When decoding ANSI MAP, Wireshark detect BER encoding error on a missing field:
 BER Error: Missing field in SET class:2 (CONTEXT) tag:22 expected

This is apparently because systemMyTypeCode is defined as Mandatory in several
of the ANSI MAP operations.  In fact, according to IS-826 Part 5 August 2000,
this element is only Mandatory in the TransferToNumberRequest INVOKE operation.
 In all other operations where it is allowed (ServiceRequest,
AnalyzedInformation, Facility SelectedAnd Available, TBusy, TNoAnswer, OAnswer,
ODisconnect, TAnswer,  TDisconnect) this element should be OPTIONAL.

This is the first Wireshark bug I have ever reported.  If you need more
information, or a test capture file, please let me know.


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