diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-09-26 15:38:19 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2023-10-04 08:33:20 +0100 |
commit | 0a520f28ffc8820d46074a71323db4c9652873be (patch) | |
tree | 7774d06cb34d9c71f2d03922f35e9779e26939d6 /inet/tst-if_index-long.c | |
parent | 1056e5b4c3f2d90ed2b4a55f96add28da2f4c8fa (diff) | |
download | glibc-0a520f28ffc8820d46074a71323db4c9652873be.zip glibc-0a520f28ffc8820d46074a71323db4c9652873be.tar.gz glibc-0a520f28ffc8820d46074a71323db4c9652873be.tar.bz2 |
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/tst-if_index-long.c')
0 files changed, 0 insertions, 0 deletions