HomePhabricator

Bitcoin-Qt: expand GCC Stack-Smashing Protector usage (non Windows)
807f3e83ba1cUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Bitcoin-Qt: expand GCC Stack-Smashing Protector usage (non Windows)

This patch currently excludes our Windows executable!

  • change to use -fstack-protector-all
  • 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

Details

Provenance
Philip Kaufmann <phil.kaufmann@t-online.de>Authored on Jul 16 2012, 12:33
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGf394f21594be: Merge pull request #1844 from Diapolo/Qt5_compat1
Branches
Unknown
Tags
Unknown

Event Timeline

Philip Kaufmann <phil.kaufmann@t-online.de> committed rSTAGING807f3e83ba1c: Bitcoin-Qt: expand GCC Stack-Smashing Protector usage (non Windows) (authored by Philip Kaufmann <phil.kaufmann@t-online.de>).Sep 22 2012, 10:28