[Expat-bugs] [ expat-Bugs-916228 ] Crash when XML_DTD not defined

SourceForge.net noreply at sourceforge.net
Sun Mar 14 19:45:43 EST 2004


Bugs item #916228, was opened at 2004-03-14 19:39
Message generated for change (Comment added) made by kwaclaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=916228&group_id=10127

Category: None
>Group: Test Required
Status: Open
>Resolution: Fixed
Priority: 5
Submitted By: Karl Waclawek (kwaclaw)
>Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Crash when XML_DTD not defined

Initial Comment:
Reported by Nicholas Hendricks:

When XML_DTD is not defined, but an internal general
entity is declared, Expat crashes in storeEntityValue,
since the string pool "entityValuePool" is not initialized
in this case.

The solution is to remove the compile condition for
initializing and finalizing entityValuePool.

The attached file test1.xml causes the crash when
using an instance of Expat compiled with XML_DTD 
undefined.

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

>Comment By: Karl Waclawek (kwaclaw)
Date: 2004-03-14 19:45

Message:
Logged In: YES 
user_id=290026

Fixed in revision 1.124 of xmlparse.c - see attached file 
xmlparse.diff.

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

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



More information about the Expat-bugs mailing list