|
@@ -51,7 +51,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
-#define WORK_BUFFER_SIZE 512
|
|
|
+#define WORK_BUFFER_SIZE 2048
|
|
|
|
|
|
|
|
|
|
|
@@ -99,7 +99,7 @@ ODAPIDEF void ODVCALL od_printf(const char *pszFormat,...)
|
|
|
va_start(pArgumentList, pszFormat);
|
|
|
|
|
|
|
|
|
- vsprintf(pszWorkBuffer, pszFormat, pArgumentList);
|
|
|
+ vsnprintf(pszWorkBuffer, WORK_BUFFER_SIZE, pszFormat, pArgumentList);
|
|
|
|
|
|
va_end(pArgumentList);
|
|
|
|