Commit c7260a47f19e01f4f663b6a56fbdc2dafd8a6e7e

Nick Wellnhofer 2023-01-23T10:19:59

malloc-fail: Don't call xmlErrMemory in xmlstring.c Functions like xmlStrdup are called in the error handling code (__xmlRaiseError) which can cause problems like use-after-free or infinite loops when invoked recursively. Calling xmlErrMemory without a context argument isn't helpful anyway. Found with libFuzzer, see #344.