diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-03-07 15:18:22 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-03-07 15:18:22 +0000 |
commit | 9ad4f76a7d68f71d0764c5f70288c32d998f3525 (patch) | |
tree | ecaef91e162df12cd3b62a57667ad7e2412f55cc /epan/dissectors/packet-ses.c | |
parent | 93d9658e93799c9ccd32e2402e800109a6e75a9a (diff) |
ISO SSAP: ActivityStart: Invalid decoding the activity parameter as a BER Integer - decode as bytes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2873
svn path=/trunk/; revision=41395
Diffstat (limited to 'epan/dissectors/packet-ses.c')
-rw-r--r-- | epan/dissectors/packet-ses.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ses.c b/epan/dissectors/packet-ses.c index 6176fc0e02..561b38658f 100644 --- a/epan/dissectors/packet-ses.c +++ b/epan/dissectors/packet-ses.c @@ -725,8 +725,12 @@ dissect_parameter(tvbuff_t *tvb, int offset, proto_tree *tree, break; if (tree) { - dissect_ber_integer(FALSE, &asn1_ctx, param_tree, tvb, offset, - hf_activity_identifier, NULL); + /* 8.3.29.2 The parameter fields shall be as specified in Table 37. + * Activity Identifier m 41 6 octets maximum + */ + proto_tree_add_item(param_tree, + hf_activity_identifier, + tvb, offset, param_len, ENC_NA); } break; @@ -1715,7 +1719,7 @@ proto_register_ses(void) { "Activity Identifier", "ses.activity_identifier", - FT_UINT32, BASE_DEC, + FT_BYTES, BASE_NONE, NULL, 0x0, NULL, |