[ expat-Bugs-961698 ] bug when recovering from malloc failure
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.text.xml.expat.bugs |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #961698, was opened at 2004-05-27 13:09 Message generated for change (Comment added) made by kwaclaw You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=961698&group_id=10127 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Anders Carlsson (andersca) >Assigned to: Karl Waclawek (kwaclaw) Summary: bug when recovering from malloc failure Initial Comment: The lookup function in xmlparse.c sets the hash table size before allocating memory for it. If the malloc call fails, the size should be reset to 0. ---------------------------------------------------------------------- >Comment By: Karl Waclawek (kwaclaw) Date: 2004-05-27 13:40 Message: Logged In: YES user_id=290026 Thanks for the bug report and fix. Applied your patch in xmlparse.c rev. 1.135. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=961698&group_id=10127