libavcodec/twinvq.c:1066: error: Buffer Overrun L2
  Offset: [0, 4] (⇐ [0, 3] + [0, 1]) Size: 4 by call to `construct_perm_table`.

libavcodec/twinvq.c:1065:10: Assignment
1063.     }
1064. 
1065.     for (i = 0; i < 4; i++)
               ^
1066.         construct_perm_table(tctx, i);
1067. }

libavcodec/twinvq.c:1066:9: Call
1064. 
1065.     for (i = 0; i < 4; i++)
1066.         construct_perm_table(tctx, i);
              ^
1067. }
1068. 

libavcodec/twinvq.c:977:1: Parameter `ftype`
  975. }
  976. 
  977. static av_cold void construct_perm_table(TwinContext *tctx,enum FrameType ftype)
       ^
  978. {
  979.     int block_size;

libavcodec/twinvq.c:994:5: Call
  992.                       tctx->length_change[ftype], ftype);
  993. 
  994.     transpose_perm(tctx->permut[ftype], tmp_perm, tctx->n_div[ftype],
           ^
  995.                    tctx->length[ftype], tctx->length_change[ftype]);
  996. 

libavcodec/twinvq.c:964:34: <Offset trace>
962.     int cont= 0;
963.     for (i = 0; i < num_vect; i++)
964.         for (j = 0; j < line_len[i >= length_div]; j++)
                                      ^
965.             out[cont++] = in[j*num_vect + i];
966. }

libavcodec/twinvq.c:964:34: Assignment
    962.     int cont= 0;
    963.     for (i = 0; i < num_vect; i++)
    964.         for (j = 0; j < line_len[i >= length_div]; j++)
                                          ^
    965.             out[cont++] = in[j*num_vect + i];
    966. }

libavcodec/twinvq.c:958:1: <Length trace>
956.  * aiqxbjr1cks2dlt3emu4fvn5gow6hp
957.  */
958. static void transpose_perm(int16_t *out, int16_t *in, int num_vect,
     ^
959.                            const uint8_t line_len[2], int length_div)
960. {

libavcodec/twinvq.c:958:1: Parameter `*line_len`
    956.  * aiqxbjr1cks2dlt3emu4fvn5gow6hp
    957.  */
    958. static void transpose_perm(int16_t *out, int16_t *in, int num_vect,
         ^
    959.                            const uint8_t line_len[2], int length_div)
    960. {

libavcodec/twinvq.c:964:25: Array access: Offset: [0, 4] (⇐ [0, 3] + [0, 1]) Size: 4 by call to `construct_perm_table` 
    962.     int cont= 0;
    963.     for (i = 0; i < num_vect; i++)
    964.         for (j = 0; j < line_len[i >= length_div]; j++)
                                 ^
    965.             out[cont++] = in[j*num_vect + i];
    966. }
