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

--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> 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.

Yes if you used the right headers and the right options.  You need to include
the correct headers for those applications.  Use the option as Jakub mentioned
in the redhat bug report and you get the behavior you want.  This is not
designed to be included behind someone's back which is what you want.

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