#6744: libavcodec/x86/snowdsp.c: 2 * array index sanity check in odd place ?
---------------------------------+---------------------------------------
             Reporter:  dcb      |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  avcodec  |                  Version:  unspecified
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+---------------------------------------
 [ffmpeg-3.4/libavcodec/x86/snowdsp.c:152]: (style) Array index 'i' is used
 before limits check.
 [ffmpeg-3.4/libavcodec/x86/snowdsp.c:79]: (style) Array index 'i' is used
 before limits check.

 Source code is

        for(; (((x86_reg)&temp[i]) & 0x1F) && i<w_r; i++){

 and

        for(; (((x86_reg)&dst[i]) & 0x1F) && i<w_r; i++){

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6744>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac

Reply via email to