1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

vfprintf: Avoid creating a VLA which complicates stack management

This commit is contained in:
Florian Weimer
2016-09-02 12:56:50 +02:00
parent 2bad840e9d
commit 326e288b1e
2 changed files with 6 additions and 1 deletions

View File

@@ -1082,7 +1082,7 @@ static const uint8_t jump_table[] =
LABEL (form_wcharacter): \
{ \
/* Wide character. */ \
char buf[MB_CUR_MAX]; \
char buf[MB_LEN_MAX]; \
mbstate_t mbstate; \
size_t len; \
\