]> source.dussan.org Git - tigervnc.git/commitdiff
[Bugfix] Mark stack as non-executable in NASM code.
authorAdam Tkac <atkac@redhat.com>
Wed, 27 Jan 2010 10:10:23 +0000 (10:10 +0000)
committerAdam Tkac <atkac@redhat.com>
Wed, 27 Jan 2010 10:10:23 +0000 (10:10 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3956 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/jpeg/simd/jsimdext.inc

index 878f0456da6e39ce14e064d9e62cc1ed523121c1..46953603a6b790f8196efcae92da6e4f7e6aec9d 100644 (file)
@@ -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__