PyWin_FindRegisteredModule(): Conversion of sprintf() to
PyOS_snprintf() for buffer overrun avoidance.
diff --git a/PC/import_nt.c b/PC/import_nt.c
index 58cd9e4..f937df8 100644
--- a/PC/import_nt.c
+++ b/PC/import_nt.c
@@ -49,9 +49,9 @@
 	 * also no heap fragmentation!
 	 */
 	moduleKey = alloca(bufSize); 
-	sprintf(moduleKey,
-		"Software\\Python\\PythonCore\\%s\\Modules\\%s%s",
-	        PyWin_DLLVersionString, moduleName, debugString);
+	PyOS_snprintf(moduleKey, bufSize,
+		      "Software\\Python\\PythonCore\\%s\\Modules\\%s%s",
+		      PyWin_DLLVersionString, moduleName, debugString);
 
 	modNameSize = pathLen;
 	regStat = RegQueryValue(keyBase, moduleKey, pathBuf, &modNameSize);