about summary refs log tree commit diff
path: root/inet
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2022-09-26 15:38:19 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2023-10-04 08:33:20 +0100
commit0a520f28ffc8820d46074a71323db4c9652873be (patch)
tree7774d06cb34d9c71f2d03922f35e9779e26939d6 /inet
parent1056e5b4c3f2d90ed2b4a55f96add28da2f4c8fa (diff)
downloadglibc-0a520f28ffc8820d46074a71323db4c9652873be.tar.gz
glibc-0a520f28ffc8820d46074a71323db4c9652873be.tar.xz
glibc-0a520f28ffc8820d46074a71323db4c9652873be.zip
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>
Diffstat (limited to 'inet')
0 files changed, 0 insertions, 0 deletions