diff options
author | 2022-09-26 15:38:19 +0100 | |
---|---|---|
committer | 2023-10-04 08:33:20 +0100 | |
commit | 0a520f28ffc8820d46074a71323db4c9652873be (patch) | |
tree | 7774d06cb34d9c71f2d03922f35e9779e26939d6 /sysdeps/unix/sysv/linux/readonly-area.c | |
parent | tunables: Terminate if end of input is reached (CVE-2023-4911) (diff) | |
download | 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 'sysdeps/unix/sysv/linux/readonly-area.c')
0 files changed, 0 insertions, 0 deletions