blob: 9872136d40b232024d41ad088f06dd5274511a0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
|