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.


(cherry picked from commit 5df3f5d05d)
This commit is contained in:
John Thacker 2020-11-15 04:39:18 +00:00 committed by Guy Harris
parent a0ce8fa84d
commit cd6afd7c9b
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}