Opened 4 years ago
Closed 3 years ago
#9265 closed defect (fixed)
libavcodec/opus_silk.c:237: wrong size buffer ?
Reported by: | dcb | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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
So p and q are the wrong size to fit silk_lsp2poly.
Note:
See TracTickets
for help on using tickets.
Fixed in 4b154743163ffbe3fdc50759c0c55dc854636488.