aboutsummaryrefslogtreecommitdiffstats
path: root/sysdeps/unix/sysv/linux/readonly-area.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>2023-10-04 08:33:20 +0100
commit0a520f28ffc8820d46074a71323db4c9652873be (patch)
tree7774d06cb34d9c71f2d03922f35e9779e26939d6 /sysdeps/unix/sysv/linux/readonly-area.c
parenttunables: Terminate if end of input is reached (CVE-2023-4911) (diff)
downloadglibc-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