libavutil/aes.c:181: error: Buffer Overrun L1
  Offset: 3 Size: 3 by call to `mix`.

libavutil/aes.c:125:1: Array declaration
123. 
124. // this is based on the reference AES code by Paulo Barreto and Vincent Rijmen
125. int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt) {
     ^
126.     int i, j, t, rconpointer = 0;
127.     uint8_t tk[8][4];

libavutil/aes.c:181:13: Call
179.             memcpy(tmp[2], a->round_key[i][0], 16);
180.             subshift(tmp[1], 0, sbox);
181.             mix(tmp, dec_multbl, 1, 3);
                 ^
182.             memcpy(a->round_key[i][0], tmp[0], 16);
183.         }

libavutil/aes.c:73:1: <Length trace>
71. }
72. 
73. static inline void mix(uint8_t state[2][4][4], uint32_t multbl[4][256], int s1, int s3){
    ^
74.     ((uint32_t *)(state))[0] = mix_core(multbl, state[1][0][0], state[1][s1  ][1], state[1][2][2], state[1][s3  ][3]);
75.     ((uint32_t *)(state))[1] = mix_core(multbl, state[1][1][0], state[1][s3-1][1], state[1][3][2], state[1][s1-1][3]);

libavutil/aes.c:73:1: Parameter `*state`
  71. }
  72. 
  73. static inline void mix(uint8_t state[2][4][4], uint32_t multbl[4][256], int s1, int s3){
      ^
  74.     ((uint32_t *)(state))[0] = mix_core(multbl, state[1][0][0], state[1][s1  ][1], state[1][2][2], state[1][s3  ][3]);
  75.     ((uint32_t *)(state))[1] = mix_core(multbl, state[1][1][0], state[1][s3-1][1], state[1][3][2], state[1][s1-1][3]);

libavutil/aes.c:77:5: Array access: Offset: 3 Size: 3 by call to `mix` 
  75.     ((uint32_t *)(state))[1] = mix_core(multbl, state[1][1][0], state[1][s3-1][1], state[1][3][2], state[1][s1-1][3]);
  76.     ((uint32_t *)(state))[2] = mix_core(multbl, state[1][2][0], state[1][s3  ][1], state[1][0][2], state[1][s1  ][3]);
  77.     ((uint32_t *)(state))[3] = mix_core(multbl, state[1][3][0], state[1][s1-1][1], state[1][1][2], state[1][s3-1][3]);
          ^
  78. }
  79. 
