[asterisk-bugs] [JIRA] (ASTERISK-29712) format_mp3: GCC 11.2 found an outside array bounds

George Joseph (JIRA) noreply at issues.asterisk.org
Mon Nov 1 06:54:49 CDT 2021


     [ https://issues.asterisk.org/jira/browse/ASTERISK-29712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Joseph updated ASTERISK-29712:
-------------------------------------

    Status: Open  (was: Triage)

> format_mp3: GCC 11.2 found an outside array bounds
> --------------------------------------------------
>
>                 Key: ASTERISK-29712
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29712
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Addons/format_mp3
>    Affects Versions: 16.21.1, 18.7.1
>         Environment: Ubuntu 21.10
>            Reporter: Alexander Traud
>            Assignee: Sean Bright
>
> {code}
>    [CC] mp3/layer3.c -> mp3/layer3.o
> mp3/layer3.c: In function ‘III_dequantize_sample’:
> mp3/layer3.c:951:12: warning: array subscript 576 is outside array bounds of ‘double[576]’ [-Warray-bounds]
>   951 |     for(i=(&xr[SBLIMIT][0]-xrpnt)>>1;i;i--) {
>       |            ^~~~~~~~~~~~~~~
> mp3/layer3.c:611:57: note: while referencing ‘xr’
>   611 | static int III_dequantize_sample(struct mpstr *mp, real xr[SBLIMIT][SSLIMIT],int *scf,
> {code}Because I have no idea how the patch-contribution process works for software on {{svn.digium.com}}, I cannot proceed from here.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list