[FFmpeg-devel] [PATCH] Add -Wformat and -Werror=format-security compiler flags
Andreas Cadhalpun
andreas.cadhalpun at googlemail.com
Sat Jul 12 21:27:50 CEST 2014
Hi,
the hardening flags used by Debian contain -Wformat and
-Werror=format-security to make sure printf and friends are used in a
safe way. [1]
To detect such problems as early as possible, I think it makes sense to
use these flags always.
Best regards,
Andreas
1:
https://wiki.debian.org/Hardening#DEB_BUILD_HARDENING_FORMAT_.28gcc.2Fg.2B-.2B-_-Wformat_-Wformat-security_-Werror.3Dformat-security.29
More information about the ffmpeg-devel
mailing list