From 3af7cc034c3b42daa7ef7edcf120773c103b22cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Mon, 22 Jan 2001 08:19:10 +0000 Subject: [PATCH] Fix off-by-one error in array size. --- Modules/pyexpat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 011db63c832..cbe0a6eea96 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -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