summaryrefslogtreecommitdiffstats
path: root/common/jpeg
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2010-01-27 10:10:23 +0000
committerAdam Tkac <atkac@redhat.com>2010-01-27 10:10:23 +0000
commit3160a5606b75c45bf51964ec0107d0305698abb4 (patch)
treec19329f0c818d00a8344d403ee089bb945dcf47c /common/jpeg
parent8dd8c50e27687c3fa2253e14f13362de8426db13 (diff)
downloadtigervnc-3160a5606b75c45bf51964ec0107d0305698abb4.tar.gz
tigervnc-3160a5606b75c45bf51964ec0107d0305698abb4.zip
[Bugfix] Mark stack as non-executable in NASM code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3956 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/jpeg')
-rw-r--r--common/jpeg/simd/jsimdext.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/jpeg/simd/jsimdext.inc b/common/jpeg/simd/jsimdext.inc
index 878f0456..46953603 100644
--- a/common/jpeg/simd/jsimdext.inc
+++ b/common/jpeg/simd/jsimdext.inc
@@ -53,6 +53,9 @@
; * *BSD family Unix using elf format
; * Unix System V, including Solaris x86, UnixWare and SCO Unix
+; mark stack as non-executable
+section .note.GNU-stack noalloc noexec nowrite progbits
+
; -- segment definition --
;
%ifdef __x86_64__