commit | 8c82f5deeba9d6ecf85f2a0aa9c967320cc6c13c | [log] [tgz] |
---|---|---|
author | Nick Wellnhofer <wellnhofer@aevum.de> | Wed Jun 07 18:32:49 2017 +0200 |
committer | Nick Wellnhofer <wellnhofer@aevum.de> | Wed Jun 07 19:58:26 2017 +0200 |
tree | f3744f7de47d647e4e6ca7cf677983aac47a4d03 | |
parent | 94691dc884d1a8ada39f073408b4bb92fe7fe882 [diff] |
Fix memory leak in xmlStringLenGetNodeList Avoid expanding the entity recursively. Use the same prevention mechanism as in xmlStringGetNodeList. xmlStringGetNodeList on the other hand wasn't fixing up the 'last' pointer. I think the memory leak can only be triggered in recovery mode. Found with libFuzzer and ASan.