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.
This commit is contained in:
Brett Cannon 2006-06-05 23:51:55 +00:00
parent d792392db4
commit 4f7a7220c1
1 changed files with 1 additions and 1 deletions

View File

@ -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);