[asterisk-bugs] [JIRA] (ASTERISK-23556) Compilation warning for invert.c (array subscript is above array bounds)

Friendly Automation (JIRA) noreply at issues.asterisk.org
Tue Oct 24 15:02:21 CDT 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-23556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=239607#comment-239607 ] 

Friendly Automation commented on ASTERISK-23556:
------------------------------------------------

Change 6898 merged by Jenkins2:
lpc10: Avoid compiler warning when DONT_OPTIMIZE/COMPILE_DOUBLE.

[https://gerrit.asterisk.org/6898|https://gerrit.asterisk.org/6898]

> Compilation warning for invert.c (array subscript is above array bounds)
> ------------------------------------------------------------------------
>
>                 Key: ASTERISK-23556
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23556
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Codecs/codec_lpc10, Core/BuildSystem
>    Affects Versions: 11.22.0, 13.8.2
>         Environment: gcc (SUSE Linux) 4.8.1 20130909 [gcc-4_8-branch revision 202388]
>            Reporter: Marcello Ceschia
>            Assignee: Alexander Traud
>            Severity: Trivial
>         Attachments: LPC-10_since_GCC_4_8_1.patch
>
>
> {code}
>    [CC] invert.c -> invert.o
> invert.c: In function ‘invert_’:
> invert.c:167:24: warning: array subscript is above array bounds [-Warray-bounds]
>       rc[j] -= rc[k] * v[j + k * 10 - 11];
> {code}



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



More information about the asterisk-bugs mailing list