[asterisk-bugs] [JIRA] (ASTERISK-23556) invert.c:167:24: warning: array subscript is above array bounds [-Warray-bounds]
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Mon Apr 21 16:15:20 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-23556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=217478#comment-217478 ]
Rusty Newton commented on ASTERISK-23556:
-----------------------------------------
I was able to reproduce on a system with later GCC version. My system had an older version. Thanks.
> invert.c:167:24: warning: array subscript is above array bounds [-Warray-bounds]
> --------------------------------------------------------------------------------
>
> Key: ASTERISK-23556
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-23556
> Project: Asterisk
> Issue Type: Improvement
> Security Level: None
> Components: Core/General
> Affects Versions: 12.1.1
> Reporter: Marcello Ceschia
> Assignee: 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