[Python-checkins] r85819 - in python/branches/release27-maint: Misc/NEWS Modules/pyexpat.c
georg.brandl
python-checkins at python.org
Sun Oct 24 16:16:05 CEST 2010
Author: georg.brandl
Date: Sun Oct 24 16:16:05 2010
New Revision: 85819
Log:
Merged revisions 85536 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85536 | georg.brandl | 2010-10-15 18:26:08 +0200 (Fr, 15 Okt 2010) | 1 line
#9054: fix crash when using pyexpat with a system expat lib version 2.0.1.
........
Modified:
python/branches/release27-maint/ (props changed)
python/branches/release27-maint/Misc/NEWS
python/branches/release27-maint/Modules/pyexpat.c
Modified: python/branches/release27-maint/Misc/NEWS
==============================================================================
--- python/branches/release27-maint/Misc/NEWS (original)
+++ python/branches/release27-maint/Misc/NEWS Sun Oct 24 16:16:05 2010
@@ -345,6 +345,9 @@
Extension Modules
-----------------
+- Issue #9054: Fix a crash occurring when using the pyexpat module
+ with expat version 2.0.1.
+
- Issue #10003: Allow handling of SIGBREAK on Windows. Fixes a regression
introduced by issue #9324.
Modified: python/branches/release27-maint/Modules/pyexpat.c
==============================================================================
--- python/branches/release27-maint/Modules/pyexpat.c (original)
+++ python/branches/release27-maint/Modules/pyexpat.c Sun Oct 24 16:16:05 2010
@@ -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 Python-checkins
mailing list