diff options
Diffstat (limited to 'dev-lang/python/files/2.6/26_all_expat-2.1.patch')
-rw-r--r-- | dev-lang/python/files/2.6/26_all_expat-2.1.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-lang/python/files/2.6/26_all_expat-2.1.patch b/dev-lang/python/files/2.6/26_all_expat-2.1.patch new file mode 100644 index 0000000..9872136 --- /dev/null +++ b/dev-lang/python/files/2.6/26_all_expat-2.1.patch @@ -0,0 +1,15 @@ +http://bugs.python.org/issue9054 +http://hg.python.org/cpython/rev/5b536c90ca36 + +--- Modules/pyexpat.c ++++ Modules/pyexpat.c +@@ -456,6 +456,9 @@ + PyObject *args; + PyObject *temp; + ++ if (!have_handler(self, CharacterData)) ++ return -1; ++ + args = PyTuple_New(1); + if (args == NULL) + return -1; |