Daniel Lehman : libwine: Use larger buffer in vsnprintfW for large numbers.
Alexandre Julliard
julliard at winehq.org
Mon Jan 9 14:24:30 CST 2012
Module: wine
Branch: master
Commit: 8bed3b6f2cb96d884c6f181d1a2e3c79ab77dbdb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8bed3b6f2cb96d884c6f181d1a2e3c79ab77dbdb
Author: Daniel Lehman <dlehman at esri.com>
Date: Fri Jan 6 12:25:40 2012 -0800
libwine: Use larger buffer in vsnprintfW for large numbers.
---
libs/wine/string.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libs/wine/string.c b/libs/wine/string.c
index 8f85c63..0b42ea8 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)
{
More information about the wine-cvs
mailing list