[asterisk-bugs] [JIRA] (ASTERISK-23556) Compilation warning for invert.c (array subscript is above array bounds)
Lukas Hauser (JIRA)
noreply at issues.asterisk.org
Tue May 5 12:24:32 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-23556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=226114#comment-226114 ]
Lukas Hauser commented on ASTERISK-23556:
-----------------------------------------
I was able to reproduce this with the current version 13.3.2 on ubuntu 14.04.
$ gcc --version
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
> 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: 12.1.1
> Environment: gcc (SUSE Linux) 4.8.1 20130909 [gcc-4_8-branch revision 202388]
> Reporter: Marcello Ceschia
> Severity: Critical
>
> {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