]> granicus.if.org Git - python/commitdiff
Add 3 more bytes to a buffer to cover constants in string and null byte on top of...
authorBrett Cannon <bcannon@gmail.com>
Mon, 5 Jun 2006 23:51:55 +0000 (23:51 +0000)
committerBrett Cannon <bcannon@gmail.com>
Mon, 5 Jun 2006 23:51:55 +0000 (23:51 +0000)
Closes bug #1501223.

Python/sysmodule.c

index 37d4b38de4329bd0ce00731e1483ded30fd2bf03..9de46a9c49156d333e66f188f002c756185b0e48 100644 (file)
@@ -1031,7 +1031,7 @@ _PySys_Init(void)
        PyObject *sysin, *sysout, *syserr;
        char *s;
 #ifdef MS_WINDOWS
-       char buf[10];
+       char buf[13];
 #endif
 
        m = Py_InitModule3("sys", sys_methods, sys_doc);