[Expat-bugs] [ expat-Bugs-600971 ] XML_ParserCreate_MM and expat 1.95.5

noreply@sourceforge.net noreply@sourceforge.net
Tue, 27 Aug 2002 13:37:59 -0700


Bugs item #600971, was opened at 2002-08-27 16:26
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=600971&group_id=10127

>Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: XML_ParserCreate_MM and expat 1.95.5

Initial Comment:
This is a problem with the current CVS version of expat.

I see problems in XML_ParserCreate_MM when 
parserInit is called before poolInit initializes tempPool. In 
parseInit, poolCopyString is called using the uninitialized 
variable tempPool, which causes unpredictable results, 
in my case, an access violation. Shouldn't poolInit be 
called before parserInit? Attached is an updated version 
of XML_ParserCreate_MM, which calls poolInit first.

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

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-08-27 16:37

Message:
Logged In: YES 
user_id=3066

Fixed in lib/xmlparse.c revisions 1.75 and 1.76.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=600971&group_id=10127