libavcodec/aaccoder.c:276: error: Buffer Overrun L3
  Offset: [-2, 3] Size: 4.

libavcodec/aaccoder.c:244:10: <Offset trace>
242. #ifndef USE_REALLY_FULL_SEARCH
243.     offs[0] = 1;
244.     for (i = 1; i < dim; i++)
              ^
245.         offs[i] = offs[i-1]*range;
246.     abs_pow34_v(scaled, in, size);

libavcodec/aaccoder.c:244:10: Assignment
242. #ifndef USE_REALLY_FULL_SEARCH
243.     offs[0] = 1;
244.     for (i = 1; i < dim; i++)
              ^
245.         offs[i] = offs[i-1]*range;
246.     abs_pow34_v(scaled, in, size);

libavcodec/aaccoder.c:221:1: <Length trace>
219. }
220. 
221. static void quantize_and_encode_band(struct AACEncContext *s, PutBitContext *pb,
     ^
222.                                      const float *in, int size, int scale_idx,
223.                                      int cb, const float lambda)

libavcodec/aaccoder.c:221:1: Array declaration
219. }
220. 
221. static void quantize_and_encode_band(struct AACEncContext *s, PutBitContext *pb,
     ^
222.                                      const float *in, int size, int scale_idx,
223.                                      int cb, const float lambda)

libavcodec/aaccoder.c:276:57: Array access: Offset: [-2, 3] Size: 4
274.                 continue;
275.             for (k = 0; k < dim; k++)
276.                 curidx += quants[k][!!(j & (1 << k))] * offs[dim - 1 - k];
                                                             ^
277.             curbits =  ff_aac_spectral_bits[cb-1][curidx];
278.             vec     = &ff_aac_codebook_vectors[cb-1][curidx*dim];
