[python3/f13/master] - Fix an incompatibility between pyexpat and the system expat-2.0.1 that led to a segfault runni

Toshio くらとみ toshio at fedoraproject.org
Mon Aug 23 05:10:58 UTC 2010


commit 05a8f80b750ca85b90f341abc5f7d79f3032c290
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Sun Aug 22 23:19:21 2010 -0400

    - Fix an incompatibility between pyexpat and the system expat-2.0.1 that
        led to a segfault running test_pyexpat.py (patch 110; upstream issue
        9054; rhbz#610312)
    
    Conflicts:
    
    	python3.spec

 python-3.1.2-fix-expat-issue9054.patch |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/python-3.1.2-fix-expat-issue9054.patch b/python-3.1.2-fix-expat-issue9054.patch
new file mode 100644
index 0000000..f1a4640
--- /dev/null
+++ b/python-3.1.2-fix-expat-issue9054.patch
@@ -0,0 +1,14 @@
+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