From: Brett Cannon Date: Mon, 5 Jun 2006 23:51:55 +0000 (+0000) Subject: Add 3 more bytes to a buffer to cover constants in string and null byte on top of... X-Git-Tag: v2.5b1~237 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f7a7220c1f019ced1b82b475115470df6fc3e69;p=python 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. --- diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 37d4b38de4..9de46a9c49 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -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);