diff options
author | Florian Weimer <fweimer@redhat.com> | 2022-12-19 18:56:55 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2022-12-19 18:56:55 +0100 |
commit | 118816de3383ff12769349784689141355cc787c (patch) | |
tree | fa858eff7a21613e38e532ac9c1d0edd1651aeab /elf | |
parent | 5365acc567a49270b4341b9d325794ec554258d9 (diff) | |
download | glibc-118816de3383ff12769349784689141355cc787c.tar.gz glibc-118816de3383ff12769349784689141355cc787c.tar.xz glibc-118816de3383ff12769349784689141355cc787c.zip |
libio: Convert __vswprintf_internal to buffers (bug 27857)
Always null-terminate the buffer and set E2BIG if the buffer is too small. This fixes bug 27857. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'elf')
-rw-r--r-- | elf/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile index 36901ac3ab..0ecbcde962 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -609,7 +609,6 @@ $(objpfx)tst-relro-libc.out: tst-relro-symbols.py $(..)/scripts/glibcelf.py \ --required=_IO_wmem_jumps \ --required=_IO_wprintf_buffer_as_file_jumps \ --required=_IO_wstr_jumps \ - --required=_IO_wstrn_jumps \ --optional=_IO_old_cookie_jumps \ --optional=_IO_old_file_jumps \ --optional=_IO_old_proc_jumps \ |