summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2006-06-05 23:51:55 (GMT)
committerBrett Cannon <bcannon@gmail.com>2006-06-05 23:51:55 (GMT)
commit4f7a7220c1f019ced1b82b475115470df6fc3e69 (patch)
tree1dee1d8676474368e4c90e17ef07c1ac25c1f689
parentd792392db4b63bea14b40e3f6e3c41ab4eb6e6fa (diff)
downloadcpython-4f7a7220c1f019ced1b82b475115470df6fc3e69.zip
cpython-4f7a7220c1f019ced1b82b475115470df6fc3e69.tar.gz
cpython-4f7a7220c1f019ced1b82b475115470df6fc3e69.tar.bz2
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.
-rw-r--r--Python/sysmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 37d4b38..9de46a9 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);