Re: [FFmpeg-devel] [PATCH] Add -Wformat and -Werror=format-security compiler flags

2014-07-12 Thread Michael Niedermayer
On Sat, Jul 12, 2014 at 10:17:02PM +0200, Andreas Cadhalpun wrote: > On 12.07.2014 21:58, Timothy Gu wrote: > >On Jul 12, 2014 12:36 PM, "Andreas Cadhalpun" < > >andreas.cadhal...@googlemail.com> wrote: > >> > >>Now with patch... > > > >Alphabetical order please. > > Fixed. > > Best regards, > An

Re: [FFmpeg-devel] [PATCH] Add -Wformat and -Werror=format-security compiler flags

2014-07-12 Thread Andreas Cadhalpun
On 12.07.2014 21:58, Timothy Gu wrote: On Jul 12, 2014 12:36 PM, "Andreas Cadhalpun" < andreas.cadhal...@googlemail.com> wrote: Now with patch... Alphabetical order please. Fixed. Best regards, Andreas >From 8c4d70191de1ae8bde8b5f958d0606c4dcf634bd Mon Sep 17 00:00:00 2001 From: Andreas Ca

Re: [FFmpeg-devel] [PATCH] Add -Wformat and -Werror=format-security compiler flags

2014-07-12 Thread Timothy Gu
On Jul 12, 2014 12:36 PM, "Andreas Cadhalpun" < andreas.cadhal...@googlemail.com> wrote: > > Now with patch... Alphabetical order please. [...] Timothy ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-deve

Re: [FFmpeg-devel] [PATCH] Add -Wformat and -Werror=format-security compiler flags

2014-07-12 Thread Andreas Cadhalpun
Now with patch... On 12.07.2014 21:27, Andreas Cadhalpun wrote: 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 flag

[FFmpeg-devel] [PATCH] Add -Wformat and -Werror=format-security compiler flags

2014-07-12 Thread Andreas Cadhalpun
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.or