From: Martin v. Löwis Date: Mon, 22 Jan 2001 08:19:10 +0000 (+0000) Subject: Fix off-by-one error in array size. X-Git-Tag: v2.1a1~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3af7cc034c3b42daa7ef7edcf120773c103b22cd;p=python Fix off-by-one error in array size. --- diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 011db63c83..cbe0a6eea9 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