ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 1342] Wireshark crashes in MMS/BER dissector endless loop

Date: Wed, 11 Apr 2007 21:57:47 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1342





------- Comment #19 from luis.ontanon@xxxxxxxxx  2007-04-11 21:57 GMT -------
It's not THE solution but it is A solution. Let's check-it-in in the meanwhile. 
Then we can either close this Bug (I opened 1516 for the CHOICE loop) or just
lower the severity.

I think Fernando deserves a build that doesn't crash... he made us found aat
least three bugs in one packet.

(In reply to comment #18)
> Expanding AccessResult in the following way makes the packet dissect
> correctly I think but how to solve it in packet-ber.c and or asn2ws I
> have no idea...
> 
> AccessResult ::= CHOICE
>         {
>         failure         [0] IMPLICIT DataAccessError,
> --      success Data
> --  Expand data here to get correct WS dissection
>         array                   [1] IMPLICIT SEQUENCE OF Data,
>         structure               [2] IMPLICIT SEQUENCE OF Data,
>         boolean                 [3] IMPLICIT BOOLEAN,   
>         bit-string              [4] IMPLICIT BIT STRING,
>         integer                 [5] IMPLICIT INTEGER,
>         unsigned                [6] IMPLICIT INTEGER,
>         floating-point          [7] IMPLICIT FloatingPoint,
> -- XXX asn2wrs and packet-ber can not handle REAL yet
> --      real                    [8] IMPLICIT REAL,
>         octet-string            [9] IMPLICIT OCTET STRING,
>         visible-string          [10] IMPLICIT VisibleString,
>         binary-time             [12] IMPLICIT TimeOfDay,
>         bcd                     [13] IMPLICIT INTEGER,
>         booleanArray            [14] IMPLICIT BIT STRING
>         }
> 


-- 
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.