mirror of https://github.com/python/cpython.git
Fix off-by-one error in array size.
This commit is contained in:
parent
d852e46be4
commit
3af7cc034c
|
@ -779,7 +779,7 @@ static struct PyMethodDef xmlparse_methods[] = {
|
|||
Make it as simple as possible.
|
||||
*/
|
||||
|
||||
static char template_buffer[256];
|
||||
static char template_buffer[257];
|
||||
PyObject * template_string=NULL;
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue