commit | bedbef806531543712cf671e8805f4badf1a22ca | [log] [tgz] |
---|---|---|
author | Nick Wellnhofer <wellnhofer@aevum.de> | Fri Jun 09 15:10:13 2017 +0200 |
committer | Nick Wellnhofer <wellnhofer@aevum.de> | Sat Jun 10 17:42:52 2017 +0200 |
tree | 5e7579427b5fc498144848df0b61c31200e58e49 | |
parent | 94f6ce838c6a903ef5d0251f061a3af1816b4c50 [diff] |
Fix memory leak in xmlParseEntityDecl error path When parsing the entity value, it can happen that an external entity with an unsupported encoding is loaded and the parser is stopped. This would lead to a memory leak. A custom SAX callback could also stop the parser. Found with libFuzzer and ASan.