diff Python/sysmodule.c @ 38618:80a627340c9f legacy-trunk

Add 3 more bytes to a buffer to cover constants in string and null byte on top of 10 possible digits for an int. Closes bug #1501223.
author Brett Cannon <bcannon@gmail.com>
date Mon, 05 Jun 2006 23:51:55 +0000
parents 3fe3ccdf0155
children 6ae418e4b36a
line wrap: on
line diff
--- a/Python/sysmodule.c	Mon Jun 05 23:38:06 2006 +0000
+++ b/Python/sysmodule.c	Mon Jun 05 23:51:55 2006 +0000
@@ -1031,7 +1031,7 @@
 	PyObject *sysin, *sysout, *syserr;
 	char *s;
 #ifdef MS_WINDOWS
-	char buf[10];
+	char buf[13];
 #endif
 
 	m = Py_InitModule3("sys", sys_methods, sys_doc);