[FFmpeg-trac] #6746(postproc:new): libpostproc/postprocess.c: 2 * array index sanity check in odd place ?

FFmpeg trac at avcodec.org
Tue Oct 17 12:29:18 EEST 2017


#6746: libpostproc/postprocess.c: 2 * array index sanity check in odd place ?
-------------------------------------+------------------------------------
             Reporter:  dcb          |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  postproc
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by heleppkes):

 The array is NULL terminated, the first condition will stop the loop
 before anything bad happens, so the order doesn't really make any
 difference. It just limits the number of loop executions.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6746#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list