SourceForge.net
2012-03-03 19:16:04 UTC
Bugs item #3206497, was opened at 2011-03-11 06:52
Message generated for change (Comment added) made by kwaclaw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3206497&group_id=10127
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Private: No
Submitted By: Peter Van der Beken (peter_vdb)
Initial Comment:
XML_Parse ends with |return result;|, but there's a case where result is left unitialized, namely if the call to processor on line 1483 returns XML_ERROR_NONE and ps_parsing has been set to XML_FINISHED. I'm attaching a patch that makes sure result is always initialized.
(This was reported in Mozilla as https://bugzilla.mozilla.org/show_bug.cgi?id=607721)
----------------------------------------------------------------------
Message:
Patch applied in xmlparse.c rev 1.168.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3206497&group_id=10127
Message generated for change (Comment added) made by kwaclaw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3206497&group_id=10127
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: Fixed
Priority: 5Private: No
Submitted By: Peter Van der Beken (peter_vdb)
Assigned to: Karl Waclawek (kwaclaw)
Summary: Unitialized memory returned from XML_ParseInitial Comment:
XML_Parse ends with |return result;|, but there's a case where result is left unitialized, namely if the call to processor on line 1483 returns XML_ERROR_NONE and ps_parsing has been set to XML_FINISHED. I'm attaching a patch that makes sure result is always initialized.
(This was reported in Mozilla as https://bugzilla.mozilla.org/show_bug.cgi?id=607721)
----------------------------------------------------------------------
Comment By: Karl Waclawek (kwaclaw)
Date: 2012-03-03 11:16Message:
Patch applied in xmlparse.c rev 1.168.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3206497&group_id=10127