diff options
author | Anders Broman <anders.broman@ericsson.com> | 2011-01-17 21:12:30 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2011-01-17 21:12:30 +0000 |
commit | cbc7cbd1b2fff8f1d472fc71534ec8274072c8ef (patch) | |
tree | 2bc9326d1fd73e09dfcea4086460a5cce74c0ba4 /epan/dissectors/packet-gsm_a_common.c | |
parent | 821f91f278163de1c76bb8869090e52cdfd2f6ce (diff) |
Handle two length octets correctly in TELV.
svn path=/trunk/; revision=35573
Diffstat (limited to 'epan/dissectors/packet-gsm_a_common.c')
-rw-r--r-- | epan/dissectors/packet-gsm_a_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_a_common.c b/epan/dissectors/packet-gsm_a_common.c index c66bae7c9f..a87130dcbd 100644 --- a/epan/dissectors/packet-gsm_a_common.c +++ b/epan/dissectors/packet-gsm_a_common.c @@ -1155,7 +1155,7 @@ guint16 elem_telv(tvbuff_t *tvb, proto_tree *tree, guint8 iei, gint pdu_type, in a_add_string=ep_alloc(1024); a_add_string[0] = '\0'; consumed = - (*elem_funcs[idx])(tvb, subtree, curr_offset + 2, + (*elem_funcs[idx])(tvb, subtree, curr_offset + 1 + lengt_length, parm_len, a_add_string, 1024); if (a_add_string[0] != '\0') |