- 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)
This commit is contained in:
parent
5c9590b543
commit
03b7fb2d62
2 changed files with 26 additions and 1 deletions
14
python-3.1.2-fix-expat-issue9054.patch
Normal file
14
python-3.1.2-fix-expat-issue9054.patch
Normal file
|
|
@ -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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue