libavcodec/g723_1enc.c:122: error: Buffer Overrun L2
  Offset: [1, 188] (⇐ [1, 10] + [0, 178]) Size: 180 by call to `ff_dot_product`.

libavcodec/g723_1enc.c:95:1: Array declaration
93.  * @param autocorr autocorrelation coefficients vector
94.  */
95. static void comp_autocorr(int16_t *buf, int16_t *autocorr)
    ^
96. {
97.     int i, scale, temp;

libavcodec/g723_1enc.c:122:27: Call
120.     } else {
121.         for (i = 1; i <= LPC_ORDER; i++) {
122.             temp        = ff_dot_product(vector, vector + i, LPC_FRAME - i);
                               ^
123.             temp        = MULL2((temp << scale), binomial_window[i - 1]);
124.             autocorr[i] = av_clipl_int32((int64_t) temp + (1 << 15)) >> 16;

libavcodec/celp_math.c:92:1: <Offset trace>
90. }
91. 
92. int64_t ff_dot_product(const int16_t *a, const int16_t *b, int length)
    ^
93. {
94.     int i;

libavcodec/celp_math.c:92:1: Parameter `length`
  90. }
  91. 
  92. int64_t ff_dot_product(const int16_t *a, const int16_t *b, int length)
      ^
  93. {
  94.     int i;

libavcodec/celp_math.c:92:1: <Length trace>
90. }
91. 
92. int64_t ff_dot_product(const int16_t *a, const int16_t *b, int length)
    ^
93. {
94.     int i;

libavcodec/celp_math.c:92:1: Parameter `*b`
  90. }
  91. 
  92. int64_t ff_dot_product(const int16_t *a, const int16_t *b, int length)
      ^
  93. {
  94.     int i;

libavcodec/celp_math.c:98:16: Array access: Offset: [1, 188] (⇐ [1, 10] + [0, 178]) Size: 180 by call to `ff_dot_product` 
   96. 
   97.     for (i = 0; i < length; i++)
   98.         sum += MUL16(a[i], b[i]);
                      ^
   99. 
  100.     return sum;

int64_t ff_dot_product(const int16_t *a, const int16_t *b, int length)
{
    int i;
    int64_t sum = 0;
    for (i = 0; i < length; i++)
        sum += MUL16(a[i], b[i]);
    return sum;
}
['static void comp_autocorr(int16_t *buf, int16_t *autocorr)\n{\n    int i, scale, temp;\n    int16_t vector[LPC_FRAME];\n    ff_g723_1_scale_vector(vector, buf, LPC_FRAME);\n    for (i = 0; i < LPC_FRAME; i++)\n        vector[i] = (vector[i] * hamming_window[i] + (1 << 14)) >> 15;\n    temp = ff_dot_product(vector, vector, LPC_FRAME);\n    temp += temp >> 10;\n    scale       = ff_g723_1_normalize_bits(temp, 31);\n    autocorr[0] = av_clipl_int32((int64_t) (temp << scale) +\n                                 (1 << 15)) >> 16;\n    if (!autocorr[0]) {\n        memset(autocorr + 1, 0, LPC_ORDER * sizeof(int16_t));\n    } else {\n        for (i = 1; i <= LPC_ORDER; i++) {\n            temp        = ff_dot_product(vector, vector + i, LPC_FRAME - i);\n            temp        = MULL2((temp << scale), binomial_window[i - 1]);\n            autocorr[i] = av_clipl_int32((int64_t) temp + (1 << 15)) >> 16;\n        }\n    }\n}', 'int64_t ff_dot_product(const int16_t *a, const int16_t *b, int length)\n{\n    int i;\n    int64_t sum = 0;\n    for (i = 0; i < length; i++)\n        sum += MUL16(a[i], b[i]);\n    return sum;\n}']