Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 440142

Summary: dev-perl/XML-LibXML - Segmentation fault when removing child nodes with entity or namespace subnodes
Product: Gentoo Linux Reporter: Guido Flohr <guido>
Component: [OLD] LibraryAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fix for https://rt.cpan.org/Ticket/Display.html?id=80395

Description Guido Flohr 2012-10-29 15:54:53 UTC
Created attachment 327698 [details, diff]
Fix for https://rt.cpan.org/Ticket/Display.html?id=80395

Perl code that uses removeChild() from LibXML::XML::Node causes a segmentation fault on specially crafted input.  Please see https://rt.cpan.org/Ticket/Display.html?id=80395 for further details and how to reproduce the crash.

The patch provided upstream also works for LibXML-XML-1.90 in Gentoo and fixes the problem.  It is attached here, too.
Comment 1 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2013-10-14 16:27:40 UTC
this bug fixed by upstream with this patch long time ago.

> Fixed in 2.0011, which was uploaded to CPAN. Thanks!