glibc/iconv
Szabolcs Nagy 0a520f28ff Fix off-by-one OOB write in iconv/tst-iconv-mt
The iconv buffer sizes must not include the \0 string terminator.
And the output termination with *outbufpos = '\0' was OOB.

Consistently use non-null-terminated buffer sizes.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2023-10-04 08:33:20 +01:00
..
dummy-repertoire.c
gconv_builtin.c
gconv_builtin.h
gconv_cache.c
gconv_charset.c
gconv_charset.h
gconv_close.c
gconv_conf.c
gconv_db.c
gconv_dl.c
gconv_int.h
gconv_open.c
gconv_parseconfdir.h
gconv_simple.c
gconv_trans.c
gconv.c
gconv.h
iconv_charmap.c
iconv_close.c
iconv_open.c
iconv_prog.c
iconv_prog.h
iconv.c
iconv.h
iconvconfig.c
iconvconfig.h
loop.c
Makefile
skeleton.c
strtab.c
test-gconv-modules
tst-gconv-init-failure-mod.c
tst-gconv-init-failure.c
tst-iconv1.c
tst-iconv2.c
tst-iconv3.c
tst-iconv4.c
tst-iconv5.c
tst-iconv6.c
tst-iconv7.c
tst-iconv8.c
tst-iconv9.c
tst-iconv_prog.sh
tst-iconv-mt.c Fix off-by-one OOB write in iconv/tst-iconv-mt 2023-10-04 08:33:20 +01:00
tst-iconv-opt.c
Versions