From 4f7a7220c1f019ced1b82b475115470df6fc3e69 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Mon, 5 Jun 2006 23:51:55 +0000 Subject: [PATCH] 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. --- Python/sysmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 37d4b38de43..9de46a9c491 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);