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

Rusty Newton (JIRA) noreply at issues.asterisk.org
Mon Apr 21 16:17:19 CDT 2014


Rusty Newton created ASTERISK-23648:
---------------------------------------

             Summary: Compilation warning for invert.c (array subscript is above array bounds)
                 Key: ASTERISK-23648
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23648
             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
            Assignee: Rusty Newton
            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