summary refs log tree commit diff
path: root/stdio-common/Xprintf_buffer_pad_1.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2022-12-19 18:56:55 +0100
committerFlorian Weimer <fweimer@redhat.com>2022-12-19 18:56:55 +0100
commit118816de3383ff12769349784689141355cc787c (patch)
treefa858eff7a21613e38e532ac9c1d0edd1651aeab /stdio-common/Xprintf_buffer_pad_1.c
parent5365acc567a49270b4341b9d325794ec554258d9 (diff)
downloadglibc-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 'stdio-common/Xprintf_buffer_pad_1.c')
0 files changed, 0 insertions, 0 deletions