[SCM] libav/experimental: arm: Mark the stack as non-executable

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:01:25 UTC 2014


The following commit has been merged in the experimental branch:
commit 543156d7518f5e5d731123da066d86278f9fa492
Author: Martin Storsjö <martin at martin.st>
Date:   Fri Feb 7 16:22:54 2014 +0200

    arm: Mark the stack as non-executable
    
    If linking in an object file without this attribute set, the
    linker will assume that an executable stack might be needed.
    
    Signed-off-by: Martin Storsjö <martin at martin.st>

diff --git a/libavutil/arm/asm.S b/libavutil/arm/asm.S
index f4523ea..45fdf55 100644
--- a/libavutil/arm/asm.S
+++ b/libavutil/arm/asm.S
@@ -53,6 +53,7 @@
         .syntax unified
 T       .thumb
 ELF     .eabi_attribute 25, 1           @ Tag_ABI_align_preserved
+ELF     .section .note.GNU-stack,"",%progbits @ Mark stack as non-executable
 
 .macro  function name, export=0, align=2
         .set            .Lpic_idx, 0

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list