[Python-checkins] r46682 - python/trunk/Python/sysmodule.c

brett.cannon python-checkins at python.org
Tue Jun 6 01:52:12 CEST 2006


Author: brett.cannon
Date: Tue Jun  6 01:51:55 2006
New Revision: 46682

Modified:
   python/trunk/Python/sysmodule.c
Log:
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.


Modified: python/trunk/Python/sysmodule.c
==============================================================================
--- python/trunk/Python/sysmodule.c	(original)
+++ python/trunk/Python/sysmodule.c	Tue Jun  6 01:51:55 2006
@@ -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);


More information about the Python-checkins mailing list