Bug#445595: libsmpeg0: libsmpeg-0.4.so.0.1.4 is falsely reported as needing an executable stack
Russell Coker
russell at coker.com.au
Sun Oct 7 07:27:49 UTC 2007
Package: libsmpeg0
Version: 0.4.5+cvs20030824-1.9
Severity: normal
"execstack -q /usr/lib/libsmpeg-0.4.so.0.1.4" reports that the shared object
requests an executable stack (via the 'X' in the output).
The below patch when applied to the source instructs the assembler that to
include a note that an executable stack is not needed. This is required on
systems running SE Linux.
diff -ru t/smpeg-0.4.5+cvs20030824/video/mmxflags_asm.S smpeg-0.4.5+cvs20030824/video/mmxflags_asm.S
--- t/smpeg-0.4.5+cvs20030824/video/mmxflags_asm.S 2000-04-06 09:12:20.000000000 +1000
+++ smpeg-0.4.5+cvs20030824/video/mmxflags_asm.S 2007-10-07 17:17:46.000000000 +1000
@@ -1,4 +1,6 @@
+.section .note.GNU-stack,"", at progbits
+
#if defined(i386) && defined(USE_MMX)
.data
diff -ru t/smpeg-0.4.5+cvs20030824/video/mmxidct_asm.S smpeg-0.4.5+cvs20030824/video/mmxidct_asm.S
--- t/smpeg-0.4.5+cvs20030824/video/mmxidct_asm.S 2000-04-06 09:12:20.000000000 +1000
+++ smpeg-0.4.5+cvs20030824/video/mmxidct_asm.S 2007-10-07 17:17:51.000000000 +1000
@@ -1,4 +1,5 @@
+.section .note.GNU-stack,"", at progbits
#if defined(i386) && defined(USE_MMX)
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-xen-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Versions of packages libsmpeg0 depends on:
ii libc6 2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii libsdl1.2debian 1.2.11-8 Simple DirectMedia Layer
ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3
libsmpeg0 recommends no packages.
-- no debconf information
More information about the Pkg-sdl-maintainers
mailing list