4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-18 12:29:32 +08:00
Yaakov Selkowitz 3e8fc7d9f2 ssp: add Object Size Checking common code
The Object Size Checking (-D_FORTIFY_SOURCE=*) functionality provides
wrappers around functions suspectible to buffer overflows.  While
independent from Stack Smashing Protection (-fstack-protector*), they
are often used and implemented together.

While GCC also provides an implementation in libssp, it is completely
broken (CVE-2016-4973, RHBZ#1324759) and seemingly unfixable, as there
is no reliable way for a preprocessor macro to trigger a link flag.
Therefore, adding this here is necessary to make it work.

Note that this does require building gcc with --disable-libssp and
gcc_cv_libc_provides_ssp=yes.

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2017-11-29 11:25:39 -06:00
..
2016-04-04 10:25:27 -05:00
2017-03-22 10:03:45 +01:00
2016-03-17 21:08:56 -05:00
2015-07-06 14:58:51 -05:00
2017-03-22 10:03:45 +01:00
2016-11-22 14:21:35 +01:00
2016-03-17 21:09:01 -05:00
2016-10-25 16:24:05 +02:00
2017-11-03 10:46:07 +01:00
2016-04-04 10:25:29 -05:00
2017-03-22 10:03:45 +01:00
2017-03-22 10:03:45 +01:00
2017-03-22 10:03:45 +01:00