Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440142 - dev-perl/XML-LibXML - Segmentation fault when removing child nodes with entity or namespace subnodes
Summary: dev-perl/XML-LibXML - Segmentation fault when removing child nodes with entit...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-10-29 15:54 UTC by Guido Flohr
Modified: 2013-10-14 16:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix for https://rt.cpan.org/Ticket/Display.html?id=80395 (xml-libxml-reconcile-ns.patch,630 bytes, patch)
2012-10-29 15:54 UTC, Guido Flohr
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!