forked from osmocom/wireshark
Encodings: Fix missing pointer increment in 3GPP TS 28.038 unpacked
The pointer isn't incremented in get_ts_23_038_7bits_string_unpacked so it just decodes the first octet length times.
This commit is contained in:
parent
646bfde7fa
commit
5df3f5d05d
|
@ -1149,7 +1149,7 @@ get_ts_23_038_7bits_string_unpacked(wmem_allocator_t *scope, const guint8 *ptr,
|
|||
strbuf = wmem_strbuf_sized_new(scope, length+1, 0);
|
||||
|
||||
for (i = 0; i < length; i++)
|
||||
saw_escape = handle_ts_23_038_char(strbuf, *ptr, saw_escape);
|
||||
saw_escape = handle_ts_23_038_char(strbuf, *ptr++, saw_escape);
|
||||
|
||||
return (guint8 *)wmem_strbuf_finalize(strbuf);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue