[guardian-dev] using -Werror=format-security

Abel Luck abel at guardianproject.info
Wed Dec 4 10:04:48 EST 2013


-Werror=format-security
    "Once this flag is enabled, GCC will refuse to compile code that could be
vulnerable to a string format security flaw."

We should investigate adding this flag to our native builds, as well as other hardening
flags. Not sure if it is available in the NDK though.

~abel


More information about the Guardian-dev mailing list