[Python-checkins] CVS: python/dist/src/Modules pyexpat.c,2.34,2.35

Martin v. Löwis loewis@users.sourceforge.net
Mon, 22 Jan 2001 00:19:12 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv31035

Modified Files:
	pyexpat.c 
Log Message:
Fix off-by-one error in array size.


Index: pyexpat.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/pyexpat.c,v
retrieving revision 2.34
retrieving revision 2.35
diff -C2 -r2.34 -r2.35
*** pyexpat.c	2001/01/22 03:20:55	2.34
--- pyexpat.c	2001/01/22 08:19:10	2.35
***************
*** 780,784 ****
  */
  
! static char template_buffer[256];
  PyObject * template_string=NULL;
  
--- 780,784 ----
  */
  
! static char template_buffer[257];
  PyObject * template_string=NULL;