rpms/python/devel python-2.6.5-fix-expat-issue9054.patch,NONE,1.1

dmalcolm dmalcolm at fedoraproject.org
Mon Jun 21 22:36:03 UTC 2010


Author: dmalcolm

Update of /cvs/pkgs/rpms/python/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv14556

Added Files:
	python-2.6.5-fix-expat-issue9054.patch 
Log Message:
* Mon Jun 21 2010 David Malcolm <dmalcolm at redhat.com> - 2.6.5-16
- Fix an incompatibility between pyexpat and the system expat-2.0.1 that led to
a segfault running test_pyexpat.py (patch 119; upstream issue 9054)


python-2.6.5-fix-expat-issue9054.patch:
 pyexpat.c |    3 +++
 1 file changed, 3 insertions(+)

--- NEW FILE python-2.6.5-fix-expat-issue9054.patch ---
Index: Modules/pyexpat.c
===================================================================
--- Modules/pyexpat.c	(revision 81539)
+++ Modules/pyexpat.c	(working copy)
@@ -415,6 +415,9 @@
     PyObject *args;
     PyObject *temp;
 
+    if (!have_handler(self, CharacterData))
+        return -1;
+
     args = PyTuple_New(1);
     if (args == NULL)
         return -1;



More information about the scm-commits mailing list