Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 6246] Incorrect PER UNALIGNED decoding of IA5String

Date: Wed, 17 Aug 2011 20:20:30 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6246

--- Comment #2 from James Leskovar <jleskovar@xxxxxxxxx> 2011-08-17 20:20:29 PDT ---
Had a quick look at the source, and it would appear that the
dissect_per_IA5String function in packet-per.c uses dissect_per_octet_string to
decode the string, and doesn't take into account asn1 alignment. The other
string types (VisibleString, NumericString, etc) use
dissect_per_restricted_character_string_sorted, which does take into account
the different sizes for each character. Perhaps a quick fix would be to use
dissect_per_restricted_character_string_sorted for an unaligned asn1 decode?

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