This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/77409] CVE-2016-4973 Targets using libssp for SSP are missing -D_FORTIFY_SOURCE functionality


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77409

Yaakov Selkowitz <yselkowi at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |---

--- Comment #9 from Yaakov Selkowitz <yselkowi at redhat dot com> ---
(In reply to Andrew Pinski from comment #7)
> This is a bug in newlib and MinGW (Cygwin and RTEMS uses newlib) rather than
> in GCC for not supporting -D_FORTIFY_SOURCE .  ssp should not be the one
> supplying this support (it just happens to does not mean it does for all
> things).

The entire point of libssp is to provide this support on systems whose libc
does not include it, so that both -D_FORTIFY_SOURCE and -fstack-protector*
functionality would be available cross-platform.

Also note that you can't say "just add it to libc" for either MinGW or
commercial *NIXs.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]