diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-01-22 08:19:10 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-01-22 08:19:10 (GMT) |
commit | 3af7cc034c3b42daa7ef7edcf120773c103b22cd (patch) | |
tree | b7d27977de2b4aa7ab293810b41253dde5e83172 /Modules | |
parent | d852e46be43ea66de36acc56fdf84f209557aee0 (diff) | |
download | cpython-3af7cc034c3b42daa7ef7edcf120773c103b22cd.zip cpython-3af7cc034c3b42daa7ef7edcf120773c103b22cd.tar.gz cpython-3af7cc034c3b42daa7ef7edcf120773c103b22cd.tar.bz2 |
Fix off-by-one error in array size.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/pyexpat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 011db63..cbe0a6e 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 |