aboutsummaryrefslogtreecommitdiff
path: root/backends/gp32/debug-gdbstub-usb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/gp32/debug-gdbstub-usb.cpp')
-rw-r--r--backends/gp32/debug-gdbstub-usb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/gp32/debug-gdbstub-usb.cpp b/backends/gp32/debug-gdbstub-usb.cpp
index 14ab38d7d6..15328c1511 100644
--- a/backends/gp32/debug-gdbstub-usb.cpp
+++ b/backends/gp32/debug-gdbstub-usb.cpp
@@ -994,7 +994,7 @@ void DEBUG_Print(char *pFormat, ...)
if (!g_GDBConnected) return;
va_start(VaList , pFormat);
- vsprintf(Temp , pFormat , VaList);
+ vsnprintf(Temp, 0x100, pFormat , VaList);
va_end(VaList);
iLength = strlen(Temp);