From 8bed3b6f2cb96d884c6f181d1a2e3c79ab77dbdb Mon Sep 17 00:00:00 2001 From: Daniel Lehman Date: Fri, 6 Jan 2012 12:25:40 -0800 Subject: [PATCH] libwine: Use larger buffer in vsnprintfW for large numbers. --- libs/wine/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/wine/string.c b/libs/wine/string.c index 8f85c632062..0b42ea8a8cc 100644 --- a/libs/wine/string.c +++ b/libs/wine/string.c @@ -351,7 +351,7 @@ int vsnprintfW(WCHAR *str, size_t len, const WCHAR *format, va_list valist) { unsigned int written = 0; const WCHAR *iter = format; - char bufa[256], fmtbufa[64], *fmta; + char bufa[512], fmtbufa[64], *fmta; while (*iter) {