[FFmpeg-trac] #9265(undetermined:new): libavcodec/opus_silk.c:237: wrong size buffer ?
FFmpeg
trac at avcodec.org
Wed May 26 23:26:52 EEST 2021
#9265: libavcodec/opus_silk.c:237: wrong size buffer ?
-------------------------------------+-------------------------------------
Reporter: dcb | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
libavcodec/opus_silk.c:237:5: warning: ‘silk_lsp2poly’ accessing 64 bytes
in a region of size 36 [-Wstringop-overflow=]
libavcodec/opus_silk.c:238:5: warning: ‘silk_lsp2poly’ accessing 64 bytes
in a region of size 36 [-Wstringop-overflow=]
Source code is
silk_lsp2poly(lsp , p, order >> 1);
silk_lsp2poly(lsp + 1, q, order >> 1);
and
static void silk_lsp2poly(const int32_t lsp[16], int32_t pol[16], int
half_order)
but
int32_t p[9], q[9]; // Q16
So p and q are the wrong size to fit silk_lsp2poly.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9265>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list