Commit 8c82f5deeba9d6ecf85f2a0aa9c967320cc6c13c

Nick Wellnhofer 2017-06-07T18:32:49

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.