From noreply at sourceforge.net Thu Mar 3 09:43:54 2011 From: noreply at sourceforge.net (SourceForge.net) Date: Thu, 03 Mar 2011 08:43:54 +0000 Subject: [Expat-bugs] [ expat-Bugs-3198241 ] xmlwf does not return an appropriate status code when errors Message-ID: Bugs item #3198241, was opened at 2011-03-03 09:43 Message generated for change (Tracker Item Submitted) made by cru-ct You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3198241&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: None Priority: 5 Private: No Submitted By: Olivier Salaun (cru-ct) Assigned to: Nobody/Anonymous (nobody) Summary: xmlwf does not return an appropriate status code when errors Initial Comment: I'm using expat 1.95.8 on Red Hat Enterprise Linux Server release 5.6. We are using the RPM. While running xmlwf from a script, I noticed that checking the return code does not allow detecting errors. It seems that xmlwf always return 0 even when error occur while checking a file. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3198241&group_id=10127 From noreply at sourceforge.net Fri Mar 11 15:52:33 2011 From: noreply at sourceforge.net (SourceForge.net) Date: Fri, 11 Mar 2011 14:52:33 +0000 Subject: [Expat-bugs] [ expat-Bugs-3206497 ] Unitialized memory returned from XML_Parse Message-ID: Bugs item #3206497, was opened at 2011-03-11 15:52 Message generated for change (Tracker Item Submitted) made by peter_vdb 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: None Priority: 5 Private: No Submitted By: Peter Van der Beken (peter_vdb) Assigned to: Nobody/Anonymous (nobody) Summary: Unitialized memory returned from XML_Parse 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) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3206497&group_id=10127