Skip Menu | will be shut down on March 1st, 2021.

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

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

Owner: Nobody in particular
Requestors: NWELLNHOF [...]

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

Subject: Calling xmlParseBalancedChunkMemory with NULL doc leaks memory
Download (untitled) / with headers
text/plain 300b
_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.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to