[ python-Bugs-925152 ] buffer problem in pyexpat.c(xmlparse_GetInputContext)

SourceForge.net noreply at sourceforge.net
Tue Apr 20 16:02:54 EDT 2004


Bugs item #925152, was opened at 2004-03-29 08:47
Message generated for change (Settings changed) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=925152&group_id=5470

Category: XML
Group: None
Status: Open
Resolution: None
>Priority: 7
Submitted By: Tobias Sargeant (tobiasjs)
>Assigned to: Martin v. Löwis (loewis)
Summary: buffer problem in pyexpat.c(xmlparse_GetInputContext)

Initial Comment:
xmlparse_GetInputContext doesn't adjust the bounds of the 
substring it returns, leading to the python string result hanging off 
one or more ends of the buffer & associated nastiness.

2 line fix attached.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=925152&group_id=5470



More information about the Python-bugs-list mailing list