Wireshark-bugs: [Wireshark-bugs] [Bug 9382] New: gsm_map doesn't decode MAPv3 reportSM-DeliveryS
Date: Mon, 04 Nov 2013 20:55:43 +0000
Bug ID 9382
Summary gsm_map doesn't decode MAPv3 reportSM-DeliveryStatus result
Classification Unclassified
Product Wireshark
Version 1.11.x (Experimental)
Hardware All
OS All
Status UNCONFIRMED
Severity Normal
Priority Low
Component Dissection engine (libwireshark)
Assignee bugzilla-admin@wireshark.org
Reporter vasil_vel@mail.bg

Build Information:
wireshark 1.11.1 (SVN Rev 53077 from master)

Copyright 1998-2013 Gerald Combs <gerald@wireshark.org> 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+ 3.4.2, with Cairo 1.12.2, with Pango 1.30.0, with
GLib 2.32.4, with libpcap, with libz 1.2.7, without POSIX capabilities, without
libnl, without SMI, with c-ares 1.9.1, with Lua 5.1, without Python, with
GnuTLS
2.12.20, with Gcrypt 1.5.0, with MIT Kerberos, with GeoIP, with PortAudio
V19-devel (built Dec  7 2011 23:15:44), with AirPcap.

Running on Linux 3.2.0-4-amd64, with locale bg_BG.utf8, with libpcap version
1.3.0, with libz 1.2.7, GnuTLS 2.12.20, Gcrypt 1.5.0, without AirPcap.
Intel(R) Core(TM) i5 CPU       M 480  @ 2.67GHz

Built using gcc 4.7.2.

--
The gsm_map dissector doesn't decode MAPv3 reportSM-DeliveryStatus result when
it contains storedMSISDN parameter

The asn,1 definition in "3GPP TS 09.02 version 5.19.0 Release 1996" and "3GPP
TS 29.002 version 11.6.0 Release 11" is

ReportSM-DeliveryStatus ::= OPERATION 
ARGUMENT 
    reportSM-DeliveryStatusArg ReportSM-DeliveryStatusArg 
RESULT 
    reportSM-DeliveryStatusRes ReportSM-DeliveryStatusRes 
    -- optional 
ERRORS { 
    DataMissing, 
    UnexpectedDataValue, 
    UnknownSubscriber, 
    MessageWaitingListFull}

ReportSM-DeliveryStatusRes ::= SEQUENCE {
    storedMSISDN ISDN-AddressString OPTIONAL,
    extensionContainer ExtensionContainer OPTIONAL,
    ...}

The following code is not correct (epan/dissectors/packet-gsm_map.c)

  case 47: /*reportSM-DeliveryStatus*/
    offset=dissect_mc_message(tvb, offset, actx, tree, 
                  FALSE, dissect_gsm_map_ISDN_AddressString,
hf_gsm_map_sm_storedMSISDN,
                  FALSE, NULL, -1,
                  FALSE , dissect_gsm_map_sm_ReportSM_DeliveryStatusRes,
-1);/*undefined*/

because it assumes that the ReportSM-DeliveryStatusRes is [3] SEQUENCE but it
is not.


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