Wireshark mailing list archives
Re: ASN.1 bit string alignment
From: Anders Broman <anders.broman () ericsson com>
Date: Fri, 26 Mar 2010 21:52:51 +0100
Looks like a bug, please make a bug report and attach a sample trace. Regards Anders -----Original Message----- From: wireshark-dev-bounces () wireshark org [mailto:wireshark-dev-bounces () wireshark org] On Behalf Of Neil Piercy Sent: den 22 mars 2010 19:31 To: Developer support list for Wireshark Subject: [Wireshark-dev] ASN.1 bit string alignment In 1.0.x PER ASN.1 bit strings used to be padded in the MSBs, (e.g. extract from an RRC message): dl-HFN: 00000004 [bit length 25] Since 1.2.x they appear to be padded in the LSBs (e.g. the same extract): dl-HFN: 00000200 [bit length 25] The value carried in both cases above is meant to be 4. Is this a deliberate change? I know bit strings are of arbitrary length, therefore a "natural" representation is challenging, but I find the above counter-intuitive. Neil This message contains confidential information and may be privileged. If you are not the intended recipient, please notify the sender and delete the message immediately. ip.access Ltd, registration number 3400157, Building 2020, Cambourne Business Park, Cambourne, Cambridge CB23 6DW, United Kingdom ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- ASN.1 bit string alignment Neil Piercy (Mar 22)
- Re: ASN.1 bit string alignment Anders Broman (Mar 26)
- Re: ASN.1 bit string alignment Neil Piercy (Mar 29)
- Re: ASN.1 bit string alignment Anders Broman (Mar 26)