This is an automated email from the git hooks/post-receive script.

carnil pushed a commit to branch master
in repository liblist-moreutils-perl.

commit b7bf84415bc2f20db926163b32571b071ef3a831
Author: Salvatore Bonaccorso <car...@debian.org>
Date:   Mon Jul 4 15:50:48 2016 +0200

    Fix caller information passed down the stack
    
    List/MoreUtils/XS.pm calls XSLoader::load from inside a string eval
    leading to the path used by XSLoader to determine the library to be
    (eval 1)/List/MoreUtils/XS.pm.
    
    Thanks: Jakub Wilk <jw...@debian.org>
    
    Closes: #829138
---
 .../Fix-caller-information-passed-down-the-stack.patch | 18 ++++++++++++++++++
 debian/patches/series                                  |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/Fix-caller-information-passed-down-the-stack.patch 
b/debian/patches/Fix-caller-information-passed-down-the-stack.patch
new file mode 100644
index 0000000..9fba8d2
--- /dev/null
+++ b/debian/patches/Fix-caller-information-passed-down-the-stack.patch
@@ -0,0 +1,18 @@
+Description: Avoid string eval
+Origin: vendor, 
https://rt.cpan.org/Ticket/Attachment/1644693/882130/Patch%20for%20List-MoreUtils.txt
+Bug: https://rt.cpan.org/Ticket/Display.html?id=115808
+Bug-Debian: https://bugs.debian.org/829138
+Forwarded: no
+Author: Father Chrysostomos <spr...@cpan.org>
+Last-Update: 2016-07-04
+
+--- a/lib/List/MoreUtils/XS.pm
++++ b/lib/List/MoreUtils/XS.pm
+@@ -13,6 +13,7 @@ BEGIN
+     # Load the XS at compile-time so that redefinition warnings will be
+     # thrown correctly if the XS versions of part or indexes loaded
+     my $ldr = <<EOLDR;
++#line ${\(__LINE__+1 . " " . __FILE__)}
+       package List::MoreUtils;
+ 
+       # PERL_DL_NONLAZY must be false, or any errors in loading will just
diff --git a/debian/patches/series b/debian/patches/series
index 8810115..ebee6cd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix-spelling-error-in-manpage.patch
+Fix-caller-information-passed-down-the-stack.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/liblist-moreutils-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to