Menu

#8 sbr_dec.c:484: wrong buffer size ?

1.2.11
closed
nobody
None
2021-12-18
2021-05-27
dcb
No

sbr_dec.c: In function ‘sbrDecodeCoupleFrame’:
sbr_dec.c:484:9: warning: ‘sbr_qmf_synthesis_32’ accessing 20480 bytes in a region of size 16384 [-Wstringop-overflow=]
484 | sbr_qmf_synthesis_32(sbr, sbr->qmfs[0], X, left_chan);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sbr_dec.c:484:9: note: referencing argument 3 of type ‘real_t ()[64][2]’ {aka ‘float ()[64][2]’}

Source code is

if (downSampledSBR)
{
    sbr_qmf_synthesis_32(sbr, sbr->qmfs[0], X, left_chan);

Discussion

  • Petri Hintukainen

    Should be fixed in 14902:aa5dd145a2ef

     
  • Petri Hintukainen

    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB