about summary refs log tree commit diff
path: root/iconv/skeleton.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2022-09-26 15:38:19 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-11-22 14:24:26 +0000
commit44d649d3c4051391782d8c893004dd7efec2ce70 (patch)
tree8d2ae29d6299b7baa81c8905e4bbafe3ba10eb48 /iconv/skeleton.c
parent4054cc2093279d68092104b3f8c059b81cceb776 (diff)
downloadglibc-44d649d3c4051391782d8c893004dd7efec2ce70.tar.gz
glibc-44d649d3c4051391782d8c893004dd7efec2ce70.tar.xz
glibc-44d649d3c4051391782d8c893004dd7efec2ce70.zip
Fix off-by-one OOB write in iconv/tst-iconv-mt
The iconv buffer sizes must not include the \0 string terminator.

When \0 cannot be part of a valid character encoding glibc iconv
would copy it to the output as expected, but then later the explicit
output termination with *outbufpos = '\0' is out of bounds.
Diffstat (limited to 'iconv/skeleton.c')
0 files changed, 0 insertions, 0 deletions