libavcodec/twinvq.c:1088: error: Buffer Overrun L2
  Offset: [0, 3] Size: 3 by call to `construct_perm_table`.

libavcodec/twinvq.c:1087:10: Assignment
1085.     }
1086. 
1087.     for (frametype = FT_SHORT; frametype <= FT_PPC; frametype++)
               ^
1088.         construct_perm_table(tctx, frametype);
1089. }

libavcodec/twinvq.c:1088:9: Call
1086. 
1087.     for (frametype = FT_SHORT; frametype <= FT_PPC; frametype++)
1088.         construct_perm_table(tctx, frametype);
              ^
1089. }
1090. 

libavcodec/twinvq.c:996:1: <Offset trace>
994. }
995. 
996. static av_cold void construct_perm_table(TwinContext *tctx,
     ^
997.                                          enum FrameType ftype)
998. {

libavcodec/twinvq.c:996:1: Parameter `ftype`
  994. }
  995. 
  996. static av_cold void construct_perm_table(TwinContext *tctx,
       ^
  997.                                          enum FrameType ftype)
  998. {

libavcodec/twinvq.c:996:1: <Length trace>
994. }
995. 
996. static av_cold void construct_perm_table(TwinContext *tctx,
     ^
997.                                          enum FrameType ftype)
998. {

libavcodec/twinvq.c:996:1: Parameter `tctx->mtab->fmode[*]`
  994. }
  995. 
  996. static av_cold void construct_perm_table(TwinContext *tctx,
       ^
  997.                                          enum FrameType ftype)
  998. {

libavcodec/twinvq.c:1007:46: Array access: Offset: [0, 3] Size: 3 by call to `construct_perm_table` 
  1005.         block_size = mtab->ppc_shape_len;
  1006.     } else {
  1007.         size       = tctx->avctx->channels * mtab->fmode[ftype].sub;
                                                     ^
  1008.         block_size = mtab->size / mtab->fmode[ftype].sub;
  1009.     }
