diff options
author | Michael Mann <mmann78@netscape.net> | 2015-05-25 08:05:21 -0400 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2015-05-26 09:10:44 +0000 |
commit | 00041a4efec2cefa5435f8c5c771684876c4fc7b (patch) | |
tree | 3035943a5aabd22b44bfe2f647b54d0add8cb0a9 /epan/dissectors/packet-aim.c | |
parent | 26384027279238087df4e2133d1b0708a81df141 (diff) |
Revert "[AIM] Fix string length"
It's a FT_UINT_STRING field type
This reverts commit dc14e3ce0df78da52da95e7356c6e15390b191ec.
Change-Id: I1185efbad459887fb9c16fb01e670bc43e6f2d84
Reviewed-on: https://code.wireshark.org/review/8623
Reviewed-by: Michael Mann <mmann78@netscape.net>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-aim.c')
-rw-r--r-- | epan/dissectors/packet-aim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-aim.c b/epan/dissectors/packet-aim.c index 0d2a6b85fc..dd29de3c65 100644 --- a/epan/dissectors/packet-aim.c +++ b/epan/dissectors/packet-aim.c @@ -1159,8 +1159,8 @@ dissect_aim_tlv_value_string08_array (proto_item *ti, guint16 valueid _U_, tvbuf while (tvb_reported_length_remaining(tvb, offset) > 1) { guint8 string_len = tvb_get_guint8(tvb, offset); - proto_tree_add_item(entry, hf_aim_string08, tvb, offset, string_len, ENC_UTF_8 | ENC_NA); - offset += string_len; + proto_tree_add_item(entry, hf_aim_string08, tvb, offset, 1, ENC_UTF_8|ENC_NA); + offset += (string_len+1); } return offset; |