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
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 Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.