Wireshark-bugs: [Wireshark-bugs] [Bug 3733] Problem in packet-per.c for ASN.1 PER Encoding

Date: Wed, 15 Jul 2009 00:59:03 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3733


Vincent Helfre <vincent.helfre@xxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vincent.helfre@xxxxxxx




--- Comment #2 from Vincent Helfre <vincent.helfre@xxxxxxx>  2009-07-15 00:58:59 PDT ---
Hi Sean, Anders,
I hoped this unaligned PER last byte was fixed :(
I just tested the patch against a WCDMA RRC connection setup complete message
and the result is wrong. It would be nice to look at your trace.

RRC UL DCCH
4ba80005a0001422285506a542a86a09404480018001180cc0d5c6240cc02840a20408018842119a6bb65e5a9d104230fe19a6bb658003b45b143da421e0

The bitstream for the rrcConnectionSetupComplete-r3-add-ext is 5 digits short
and should be filled with 00000 to arrive at a decent HEX string

10100010 00001000 01000110 00011111 11000011 00110100 11010111 01101100
10110000 00000000 011 

Translates to a208461fc334d76cb00060 if 5 trailing bits are added at the end.
With the patch the last byte is wrong: We get a208461fc334d76cb00080 instead of
a208461fc334d76cb00060


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