[ expat-Bugs-434665 ] memory bug in XML_Parse
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 09 Aug 2001 11:11:17 -0700
Bugs item #434665, was opened at 2001-06-19 19:48
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=434665&group_id=10127
Category: XML::Parser (Perl module)
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: memory bug in XML_Parse
Initial Comment:
A check should be added to the end of XML_Parse() in
xmlparse.c --- the line currently reads
memcpy(XML_GetBuffer(parser, len), s, len);
but XML_GetBuffer can return 0.
Michael Isard.
----------------------------------------------------------------------
>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-08-09 11:11
Message:
Logged In: YES
user_id=3066
Fixed in lib/xmlparse.c revision 1.22.
Was this triggered by a real lack of memory or some other
condition? Or was this found simply by reading the code?
(If there's some other way to trigger the condition, I'd
like to know about it so the diagnostics can be relatively
specific.)
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=434665&group_id=10127