bitcoin/bitcoin — pull request #1674 by Diapolo (2012-08-14 09:48:18+00:00)
Title: Bitcoin-Qt: expand GCC Stack-Smashing Protector usage

- change to use -fstack-protector-all, but only for release builds
(I guess debugging is easier without this flag)
- the minimum size of buffers (i.e. arrays) that will receive stack smashing
protection was changed to 1 byte (GCC default: 8)
- warn about functions that will not be protected against stack smashing
by adding -Wstack-protector

As we now have an automatic build system, which let's me test this, I considered it was a good idea to now open this pull. Needs some testing of course and is perhaps not suited for 0.7 but later releases!