mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
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:
parent
d792392db4
commit
4f7a7220c1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue