Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <79e2949f37a6495a19888772953b410e035e2f9c.camel@opteya.com>
Date: Tue, 23 Oct 2018 11:41:13 +0200
From: Yann Droneaud <ydroneaud@...eya.com>
To: oss-security@...ts.openwall.com
Subject: Re: GCC Compiler Induced Vulnerability - affects
 programs compiled with GCC 7 and 8 containing nested functions

Hi,

Use -Werror=trampoline to prevent GCC from generating code that require
executable stack:


https://gcc.gnu.org/onlinedocs/gcc-8.2.0/gcc/Warning-Options.html#index-Wtrampolines

It's a recommanded warning from OWASP:


https://www.owasp.org/index.php/C-Based_Toolchain_Hardening#GCC.2FBinutils

-- 
Yann Droneaud
OPTEYA


Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.