From 24c92d00919500a725a6d4c4797b48088b56431f Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Sat, 9 Apr 2005 01:52:44 +0000 Subject: Remove usage of vsprintf in favour of vsnprintf and make more use of STRINGBUFLEN. Some ports may need a new stub for this, discussed with Chrilith. svn-id: r17463 --- backends/wince/missing/missing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/wince/missing') diff --git a/backends/wince/missing/missing.cpp b/backends/wince/missing/missing.cpp index de4fc8a07b..198e0b8a93 100644 --- a/backends/wince/missing/missing.cpp +++ b/backends/wince/missing/missing.cpp @@ -567,7 +567,7 @@ int fprintf(FILE *stream, const char *format, ...) { va_list va; va_start(va, format); - vsprintf(buf, format, va); + vsnprintf(buf, 1024, format, va); va_end(va); if (buf[strlen(buf) - 1] == '\n') { -- cgit v1.2.3