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

SourceForge.net noreply at sourceforge.net
Mon Mar 29 01:47:37 EST 2004


Bugs item #925152, was opened at 2004-03-29 16:47
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: 5
Submitted By: Tobias Sargeant (tobiasjs)
Assigned to: Nobody/Anonymous (nobody)
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