summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--urpm/xml_info.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 5a7909fb..7540f29d 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@
o update perl-Pango first too (mga#21425)
- urpmi:
o update perl-base first too
+ o use XML::LibXML::Parser's 'huge' option
Version 8.110 - 13 July 2017
diff --git a/urpm/xml_info.pm b/urpm/xml_info.pm
index 10fab691..be31159d 100644
--- a/urpm/xml_info.pm
+++ b/urpm/xml_info.pm
@@ -44,7 +44,7 @@ sub open_lzma {
sub _open_xml_reader {
my ($xml_info_file) = @_;
- my $reader = new XML::LibXML::Reader(IO => open_lzma($xml_info_file)) or die "cannot read $xml_info_file\n";
+ my $reader = new XML::LibXML::Reader(IO => open_lzma($xml_info_file), huge => 1) or die "cannot read $xml_info_file\n";
$reader->read;
$reader->name eq 'media_info' or die "global <media_info> tag not found\n";