Wireshark-bugs: [Wireshark-bugs] [Bug 8216] New: ASN.1 PER Encoding: UTF8String dissection
Date: Wed, 16 Jan 2013 09:43:47 +0000
Bug ID 8216
Summary ASN.1 PER Encoding: UTF8String dissection
Classification Unclassified
Product Wireshark
Version 1.8.3
Hardware x86
OS Ubuntu
Status UNCONFIRMED
Severity Enhancement
Priority Low
Component Dissection engine (libwireshark)
Assignee bugzilla-admin@wireshark.org
Reporter ewgenijkkg@gmx.de

Build Information:

--
In current Wireshark version no UTF8Strings defined in ASN.1 specification can
be processed for PER encoded frames. The following additions to
~/epan/dissectors/packet-per.h, ~/epan/dissectors/packet-per.c enable
UTF8String dissection:

packet-per.h
--------------------
extern guint32 dissect_per_UTF8String(tvbuff_t *tvb, guint32 offset, asn1_ctx_t
*actx, proto_tree *tree, int hf_index, int min_len, int max_len, gboolean
has_extension);



packet-per.c
--------------------
guint32
dissect_per_UTF8String(tvbuff_t *tvb, guint32 offset, asn1_ctx_t *actx,
proto_tree *tree, int hf_index, int min_len, int max_len, gboolean
has_extension)
{
    offset=dissect_per_octet_string(tvb, offset, actx, tree, hf_index, min_len,
max_len, has_extension, NULL);
    return offset;
}


You are receiving this mail because:
  • You are watching all bug changes.