bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/29072] ld silently make the program stack area executable if nes


From: hjl.tools at gmail dot com
Subject: [Bug ld/29072] ld silently make the program stack area executable if nested function is used
Date: Tue, 26 Apr 2022 16:25:36 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29072

--- Comment #17 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Nick Clifton from comment #16)
> (In reply to H.J. Lu from comment #15)
> > Is the goal to remove nested functions?
> 
> No - the goal is to improve the security of programs by letting their
> builders know that they have a vulnerability.  They *may* chose to address
> the vulnerability by removing nested functions from their code - if that was
> the cause - but they may also decide that the vulnerability is acceptable
> and instead add --no-warn-execstack to the linker command line.  Or just
> ignore the warning.

What should we do about failing nested function tests in GCC testsuite?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]