diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-04-28 14:27:44 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-06 10:30:55 +0100 |
commit | f335f8e744fb312b3eb599c331d08a9a6e5a8ff8 (patch) | |
tree | 4c743f6318402647ff6358fd93941aa253dbe39b /scripts/lib/wic | |
parent | 30acc7a6b9e6d1c42ba1df6e5a362d10b43cb4eb (diff) | |
download | openembedded-core-f335f8e744fb312b3eb599c331d08a9a6e5a8ff8.tar.gz openembedded-core-f335f8e744fb312b3eb599c331d08a9a6e5a8ff8.tar.bz2 openembedded-core-f335f8e744fb312b3eb599c331d08a9a6e5a8ff8.zip |
security_flags: turn potential string format security issues into an error
Add "-Wformat -Wformat-security -Werror=format-security" to the default
SECURITY_CFLAGS to catch potential security vulnerabilities due to the
misuse of various string formatting functions.
These flags are widely used in distributions such as Fedora and Ubuntu,
however we have 15 recipes in OE-Core which fail to build with these
flags included and thus the flags are removed for:
- busybox
- console-tools
- cmake
- expect
- gcc
- gettext
- kexec-tools
- leafpad
- libuser
- ltp
- makedevs
- oh-puzzles
- stat
- unzip
- zip
[YOCTO #9488]
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic')
0 files changed, 0 insertions, 0 deletions