Commit 4f7a7220 authored by Brett Cannon's avatar Brett Cannon

Add 3 more bytes to a buffer to cover constants in string and null byte on top...

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.
parent d792392d
...@@ -1031,7 +1031,7 @@ _PySys_Init(void) ...@@ -1031,7 +1031,7 @@ _PySys_Init(void)
PyObject *sysin, *sysout, *syserr; PyObject *sysin, *sysout, *syserr;
char *s; char *s;
#ifdef MS_WINDOWS #ifdef MS_WINDOWS
char buf[10]; char buf[13];
#endif #endif
m = Py_InitModule3("sys", sys_methods, sys_doc); m = Py_InitModule3("sys", sys_methods, sys_doc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment