[XML-SIG] [ pyxml-Patches-485883 ] Crash on valid XML

noreply@sourceforge.net noreply@sourceforge.net
Mon, 26 Nov 2001 20:17:22 -0800


Patches item #485883, was opened at 2001-11-26 20:17
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=306473&aid=485883&group_id=6473

Category: DOM
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Mark Mitchell (markmitchell)
Assigned to: Nobody/Anonymous (nobody)
Summary: Crash on valid XML

Initial Comment:
The start_tag method in xmlproc ocasionally crashes.

Note that this method calls skip_ws and then accesses
self.data[self.pos] without the safety of a try block. 
An
IndexError can occur, which should result in an
OutOfDataException, but does not.

A patch is attached.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=306473&aid=485883&group_id=6473