]> git.ipfire.org Git - thirdparty/glibc.git/commit
fxprintf: Get rid of alloca
authorJoe Simmons-Talbott <josimmon@redhat.com>
Tue, 15 Aug 2023 14:28:25 +0000 (14:28 +0000)
committerJoe Simmons-Talbott <josimmon@redhat.com>
Tue, 15 Aug 2023 14:28:25 +0000 (14:28 +0000)
commit892e125f1c92f4f77e75ba56ccb80989de63c391
tree3ed42b9c8422afe7a7213bc896502fd66885486a
parentd6fe19facc61caffb25383d9c25eff86a0e115c8
fxprintf: Get rid of alloca

Use a scratch_buffer rather than alloca/malloc to avoid potential stack
overflow.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
stdio-common/fxprintf.c