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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3af7cc034c3b42daa7ef7edcf120773c103b22cd;p=thirdparty%2FPython%2Fcpython.git Fix off-by-one error in array size. --- diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 011db63c8329..cbe0a6eea965 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