[SCM] Debian packaging of libxml-stream-perl branch, master, updated. 7ec23f22a6db5aec7787d1e65d48c0e081a81992

Florian Schlichting fschlich at zedat.fu-berlin.de
Sun Nov 4 21:19:38 UTC 2012


The following commit has been merged in the master branch:
commit 6f36348cb80f0eaa7e4195cdb3ff782fb4269b59
Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
Date:   Sun Nov 4 22:10:28 2012 +0100

    Add 687059_Use-of-uninitialized-value.patch (closes: #687059)

diff --git a/debian/changelog b/debian/changelog
index 0de620e..327ee35 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libxml-stream-perl (1.23-2) unstable; urgency=low
+
+  * Team upload.
+  * Add 687059_Use-of-uninitialized-value.patch (closes: #687059).
+
+ -- Florian Schlichting <fschlich at zedat.fu-berlin.de>  Sun, 04 Nov 2012 22:10:09 +0100
+
 libxml-stream-perl (1.23-1) unstable; urgency=low
 
   * New upstream release
diff --git a/debian/patches/687059_Use-of-uninitialized-value.patch b/debian/patches/687059_Use-of-uninitialized-value.patch
new file mode 100644
index 0000000..e2ab5d1
--- /dev/null
+++ b/debian/patches/687059_Use-of-uninitialized-value.patch
@@ -0,0 +1,25 @@
+Description: Fix "Use of uninitialized value within @_ ..." warning
+ XML::Stream::Parser::new is always called with an odd number of
+ elements (class name and a hash of arguments), so shifting the class
+ name off allows the list to hash conversion to complete without trying
+ to pop an element from an empty list.
+Origin: https://github.com/dap/XML-Stream/commit/7902f8334346590babcf5ac7e1a5c03acc9fa6a2
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=56574
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687059
+Reviewed-by: Florian Schlichting <fschlich at zedat.fu-berlin.de>
+
+--- a/lib/XML/Stream/Parser.pm
++++ b/lib/XML/Stream/Parser.pm
+@@ -63,9 +63,11 @@
+ 
+ sub new
+ {
++    my $class = shift;
++
+     my $self = { };
+ 
+-    bless($self);
++    bless($self, $class);
+ 
+     my %args;
+     while($#_ >= 0) { $args{ lc pop(@_) } = pop(@_); }
diff --git a/debian/patches/series b/debian/patches/series
index de80887..7252df0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 gssapi.patch
+687059_Use-of-uninitialized-value.patch

-- 
Debian packaging of libxml-stream-perl



More information about the Pkg-perl-cvs-commits mailing list