Skip Menu |

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 132739
Status: new
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: NWELLNHOF [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Calling xmlParseBalancedChunkMemory with NULL doc leaks memory
_parse_xml_chunk calls domReadWellBalancedString with a NULL document which is then passed to xmlParseBalancedChunkMemory. This leads to a memory leak when parsing namespaces. There's no way to fix this on the libxml2 side. I think _parse_xml_chunk should pass the newly created fragment as document.