Wireshark-bugs: [Wireshark-bugs] [Bug 2474] Error decoding field genericNumbers of Camel Connect
Date: Fri, 18 Apr 2008 00:32:25 -0700 (PDT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2474


Anders Broman <anders.broman@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anders.broman@xxxxxxxxxxxx




--- Comment #1 from Anders Broman <anders.broman@xxxxxxxxxxxx>  2008-04-18 00:32:24 GMT ---
Looking at the error with the preferense "Show internal BER encapsulation
tokens" set in the BER dissector I can see:

:
...1 1100 = Tag: 28
Length: 1
BER Error: This field lies beyond the end of the known sequence definition.

Looking at the ASN1 description for ConnectArg:
ConnectArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
        destinationRoutingAddress                       [0]
DestinationRoutingAddress {bound},
        alertingPattern                                         [1]
AlertingPattern                             OPTIONAL,
        originalCalledPartyID                           [6]
OriginalCalledPartyID {bound}                       OPTIONAL,
        extensions                                      [10] Extensions {bound}
                                OPTIONAL,
        carrier                                         [11] Carrier {bound}   
                                OPTIONAL,
        callingPartysCategory                           [28]
CallingPartysCategory                              OPTIONAL,
        redirectingPartyID                              [29] RedirectingPartyID
{bound}                         OPTIONAL,
        redirectionInformation                          [30]
RedirectionInformation                             OPTIONAL,
        genericNumbers                                  [14] GenericNumbers
{bound}                             OPTIONAL,
        serviceInteractionIndicatorsTwo                 [15]
ServiceInteractionIndicatorsTwo                    OPTIONAL,
        chargeNumber                                    [19] ChargeNumber
{bound}                               OPTIONAL,
        legToBeConnected                                [21] LegID             
                                OPTIONAL,
        cug-Interlock                                   [31] CUG-Interlock     
                                OPTIONAL,
        cug-OutgoingAccess                              [32] NULL              
                                OPTIONAL,
        suppressionOfAnnouncement                       [55]
SuppressionOfAnnouncement                          OPTIONAL,
        oCSIApplicable                                  [56] OCSIApplicable    
                                OPTIONAL,
        naOliInfo                                       [57] NAOliInfo         
                                OPTIONAL,
        bor-InterrogationRequested                      [58] NULL              
                                OPTIONAL,
        ...,
        suppress-N-CSI                                  [59] NULL              
                                OPTIONAL

        }

Tag 28 should be callingPartysCategory HOWEVER i beleve that in SEQUENCE the
Tags has to come in the order specified(if present in the case of OPTIONAl)
so this Element should be BEFORE GenericNumbers e.g this is a fault in the
Application.

Regards
Anders


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