[FFmpeg-trac] #1030(avcodec:new): Doesn't build with -Werror=format-security

FFmpeg trac at avcodec.org
Fri Mar 2 16:27:33 CET 2012


#1030: Doesn't build with -Werror=format-security
------------------------------------+---------------------------------
               Reporter:  marillat  |                  Owner:
                   Type:  defect    |                 Status:  new
               Priority:  normal    |              Component:  avcodec
                Version:  0.10      |               Keywords:
             Blocked By:            |               Blocking:
Reproduced by developer:  0         |  Analyzed by developer:  0
------------------------------------+---------------------------------
 Hi,

 Debian use hardening compile-time options
 [http://wiki.debian.org/Hardening]

 ffmpeg fail to build with "-Werror=format-security"

 {{{
 libavcodec/srtdec.c: In function ‘srt_to_ass’:
 libavcodec/srtdec.c:113:61: error: format not a string literal and no
 format arguments [-Werror=format-security]
 libavcodec/srtdec.c:113:61: error: format not a string literal and no
 format arguments [-Werror=format-security]
 libavcodec/srtdec.c:149:53: error: format not a string literal and no
 format arguments [-Werror=format-security]
 libavcodec/srtdec.c:149:53: error: format not a string literal and no
 format arguments [-Werror=format-security]
 }}}

 Patch from [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658929#15]
 fix this bug.

 Christian

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1030>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list