From 12c0146aaec25379a108581c8582dd79eedcc066 Mon Sep 17 00:00:00 2001 From: fvogel Date: Wed, 11 Jan 2023 23:33:22 +0000 Subject: The last missing change sprintf --> snprintf. --- win/tkWinWindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/tkWinWindow.c b/win/tkWinWindow.c index c47504d..872ac40 100644 --- a/win/tkWinWindow.c +++ b/win/tkWinWindow.c @@ -178,7 +178,7 @@ TkpPrintWindowId( { HWND hwnd = (window) ? Tk_GetHWND(window) : 0; - sprintf(buf, "0x%" TCL_Z_MODIFIER "x", (size_t)hwnd); + snprintf(buf, TCL_INTEGER_SPACE, "0x%" TCL_Z_MODIFIER "x", (size_t)hwnd); } /* -- cgit v0.12