commit | 390f05e7033fa8658f310dce9704f4f88e84b7fe | [log] [tgz] |
---|---|---|
author | Nick Wellnhofer <wellnhofer@aevum.de> | Sun Oct 20 13:42:19 2019 +0200 |
committer | Nick Wellnhofer <wellnhofer@aevum.de> | Sun Oct 20 14:13:05 2019 +0200 |
tree | f174033fb9d931b25a41a6aefe141fc49f5135fd | |
parent | aec2bf715346251ad0fd59e62184e82ed786e618 [diff] |
Propagate memory errors in xmlXPathCompExprAdd Make sure that memory errors in xmlXPathCompExprAdd are propagated to the parser context. Hitting the step limit or running out of memory without raising an error could also lead to an out-of-bounds read. Also fixes a memory leak in xmlXPathErrMemory. Found by OSS-Fuzz.