Use ssp-buffer-size param when hardening

We used to enable ssp-buffer-size=1 only when building with
--enable-gcc-warnings. That would result in warnings (and no
protection for small arrays) when building with
--enable-gcc-hardening without enabling warnings, too. Fixes bug
2031.

Also remove an XXX: We now allow to build with -fstack-protector
by using --enable-gcc-hardening.
This commit is contained in:
Sebastian Hahn
2010-10-19 19:14:58 +02:00
parent f3d000f496
commit cee4dc6101
2 changed files with 7 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
o Minor bugfixes:
- Enable protection of small arrays whenever we build with gcc hardening
features, not only when also building with warnings enabled. Fixes bug
2031; bugfix on 0.2.2.14-alpha. Reported by keb.