[AIM] Fix string length

Change-Id: I64f73bd5cb131ad6efc64eea6a7eb66af9cee5c4
Reviewed-on: https://code.wireshark.org/review/8622
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Anders 2015-05-25 09:38:11 +02:00 committed by Anders Broman
parent 7410afb64e
commit dc14e3ce0d
1 changed files with 1 additions and 1 deletions

View File

@ -1159,7 +1159,7 @@ 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, 1, ENC_UTF_8|ENC_NA);
proto_tree_add_item(entry, hf_aim_string08, tvb, offset, string_len, ENC_UTF_8 | ENC_NA);
offset += string_len;
}