Skip Menu |

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

Report information
The Basics
Id: 131145
Status: new
Priority: 0/
Queue: XML-Simple

People
Owner: Nobody in particular
Requestors: felix.lechner [...] lease-up.com
Cc:
AdminCc:

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



Subject: Hangs on two possibly invalid inputs
Date: Fri, 6 Dec 2019 06:33:51 -0800
To: bug-XML-Simple [...] rt.cpan.org
From: Felix Lechner <felix.lechner [...] lease-up.com>
Hi, libxml-simple-perl 2.25-1 in Debian buster hangs on the following two inputs, which probably aren't valid XML. The first looks like HTML. The second breaks every online validator I have tried. Please see the attached sample script for an easy test. This issue has been tentatively identified as the source of https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926543 due to this line in Lintian: https://salsa.debian.org/lintian/lintian/blob/master/checks/debian/copyright.pm#L570-571 Kind regards Felix Lechner $ uname -a Linux lechner-desktop.us-core.com 5.3.0-0.bpo.2-amd64 #1 SMP Debian 5.3.9-2~bpo10+1 (2019-11-13) x86_64 GNU/Linux $ perl -v (in part) This is perl 5, version 28, subversion 1 (v5.28.1) built for x86_64-linux-gnu-thread-multi (with 61 registered patches, see perl -V for more detail)

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #131145] AutoReply: Hangs on two possibly invalid inputs
Date: Fri, 6 Dec 2019 07:45:33 -0800
To: bug-XML-Simple [...] rt.cpan.org
From: Felix Lechner <felix.lechner [...] lease-up.com>
The bug only occurs with a particular backend: 06:54 < haarg> and XML::SAX can use multple backends... 06:58 < lechner> Which one am I using? 06:58 < alh> perl -MXML::SAX -e 'print XML::SAX::ParserFactory->new->parser' 07:06 < lechner> yields: XML::LibXML::SAX::Parser=HASH(0x56150017c500) 07:12 < alh> Can reproduce with XML::LibXML::SAX::Parser 07:14 < alh> It's stuck calling out to http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd 07:14 < alh> Which is never responding 07:14 < alh> GG 07:14 < alh> Or something to that effect