[FFmpeg-trac] #6744(avcodec:new): libavcodec/x86/snowdsp.c: 2 * array index sanity check in odd place ?
FFmpeg
trac at avcodec.org
Tue Oct 17 12:20:07 EEST 2017
#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
More information about the FFmpeg-trac
mailing list