[SCM] wavpack/master: Apply patch from Russell Coker to mark stack non-executable

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Sun Jan 17 12:41:24 UTC 2016


The following commit has been merged in the master branch:
commit af4b7e2a5405046185b041a68a2ed1d4654a99d9
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Sun Jan 17 13:36:37 2016 +0100

    Apply patch from Russell Coker to mark stack non-executable
    
    Closes: #793320

diff --git a/debian/patches/mark-stack-non-executable.patch b/debian/patches/mark-stack-non-executable.patch
new file mode 100644
index 0000000..baca1f8
--- /dev/null
+++ b/debian/patches/mark-stack-non-executable.patch
@@ -0,0 +1,67 @@
+Description: Mark stack as non-executable
+Author: Russell Coker
+Forwarded: https://github.com/dbry/WavPack/pull/10
+
+diff --git a/src/pack_x64.s b/src/pack_x64.s
+index 9c7c7b0..c7c0c1c 100644
+--- a/src/pack_x64.s
++++ b/src/pack_x64.s
+@@ -6,6 +6,7 @@
+ ##      Distributed under the BSD Software License (see license.txt)      ##
+ ############################################################################
+ 
++        .section .note.GNU-stack,"", at progbits
+         .intel_syntax noprefix
+         .text
+ 
+diff --git a/src/pack_x86.s b/src/pack_x86.s
+index 4e5de18..1d53b81 100644
+--- a/src/pack_x86.s
++++ b/src/pack_x86.s
+@@ -6,6 +6,7 @@
+ ##      Distributed under the BSD Software License (see license.txt)      ##
+ ############################################################################
+ 
++        .section .note.GNU-stack,"", at progbits
+         .intel_syntax noprefix
+         .text
+ 
+diff --git a/src/unpack_armv7.s b/src/unpack_armv7.s
+index 149e6a9..a85b2d4 100644
+--- a/src/unpack_armv7.s
++++ b/src/unpack_armv7.s
+@@ -6,6 +6,7 @@
+ //      Distributed under the BSD Software License (see license.txt)      //
+ ////////////////////////////////////////////////////////////////////////////
+ 
++        .section .note.GNU-stack,"", at progbits
+         .text
+         .align
+         .global         unpack_decorr_stereo_pass_cont_armv7
+diff --git a/src/unpack_x64.s b/src/unpack_x64.s
+index a3b733c..309806e 100644
+--- a/src/unpack_x64.s
++++ b/src/unpack_x64.s
+@@ -6,6 +6,7 @@
+ ##      Distributed under the BSD Software License (see license.txt)      ##
+ ############################################################################
+ 
++        .section .note.GNU-stack,"", at progbits
+         .intel_syntax noprefix
+         .text
+ 
+diff --git a/src/unpack_x86.s b/src/unpack_x86.s
+index ddd0776..0c17af4 100644
+--- a/src/unpack_x86.s
++++ b/src/unpack_x86.s
+@@ -6,6 +6,7 @@
+ ##      Distributed under the BSD Software License (see license.txt)      ##
+ ############################################################################
+ 
++        .section .note.GNU-stack,"", at progbits
+         .intel_syntax noprefix
+         .text
+ 
+-- 
+2.7.0.rc3
+
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..1d3bf49 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+mark-stack-non-executable.patch

-- 
wavpack packaging



More information about the pkg-multimedia-commits mailing list