Patches item #1173998, was opened at 2005-03-31 05:59 Message generated for change (Comment added) made by fdrake You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1173998&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Modules Group: Python 2.3 Status: Open Resolution: Works For Me Priority: 7 Submitted By: pdecat (pdecat) Assigned to: Fred L. Drake, Jr. (fdrake) Summary: Python crashes in pyexpat.c if malformed XML is parsed Initial Comment: If a malformed XML file (containing non unicode characters) is parsed with pyexpat, python crashes. Most details on request. ---------------------------------------------------------------------- >Comment By: Fred L. Drake, Jr. (fdrake) Date: 2005-08-22 23:59 Message: Logged In: YES user_id=3066 I realize this has sat too long; sorry. Can you send an example XML file for which this crashes for you? Do you let Expat determine and handle the encoding itself, or do you override the detected encoding when you create the parser? ---------------------------------------------------------------------- Comment By: pdecat (pdecat) Date: 2005-03-31 08:00 Message: Logged In: YES user_id=1210681 STRING_CONV_FUNC returns NULL if the string is contains non-ascii and non-unicode characters. ---------------------------------------------------------------------- Comment By: pdecat (pdecat) Date: 2005-03-31 07:18 Message: Logged In: YES user_id=1210681 Maybe security related, as it can lead to denial of service: it crashes a Zope server using the ParsedXML product simply by uploading a malformed XML file. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1173998&group_id=5470 _______________________________________________ Patches mailing list [email protected] http://mail.python.org/mailman/listinfo/patches
