Your message dated Sat, 03 Dec 2011 17:43:22 +0100
with message-id <[email protected]>
and subject line Bug#498194: libxml-parser-perl: script crashes when reading 
empty file in xml::rss
has caused the Debian Bug report #498194,
regarding libxml-parser-perl: script crashes when reading empty file in xml::rss
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
498194: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498194
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libxml-parser-perl
Version: 2.36-1.1+b1
Severity: normal

When using parsefile from XML::RSS with an empty file the script runs out of 
memory.

# touch test
# ./test.pl
Ran out of memory for input buffer at /usr/lib/perl5/XML/Parser/Expat.pm line 
469.
# echo "foo" >> test
# ./test.pl
syntax error at line 1, column 0, byte 0 at /usr/lib/perl5/XML/Parser.pm line 
187

test.pl:
#!/usr/bin/perl

use XML::RSS;
use strict;
use warnings;

my $rss = new  XML::RSS ();
$rss->parsefile("test");


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
Architecture: i386 (i686)

Kernel: Linux 2.6.26
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages libxml-parser-perl depends on:
ii  libc6                      2.7-13        GNU C Library: Shared libraries
ii  libexpat1                  2.0.1-4       XML parsing C library - runtime li
ii  liburi-perl                1.35.dfsg.1-1 Manipulates and accesses URI strin
ii  libwww-perl                5.813-1       WWW client/server library for Perl
ii  perl                       5.10.0-13     Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.10.0] 5.10.0-13     minimal Perl system

libxml-parser-perl recommends no packages.

libxml-parser-perl suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
The script doesn't crash here. It correctly says, that it cannot find an
element. So I guess, this is not longer a problem.

Closing this report.

Regards, Daniel



--- End Message ---

Reply via email to