libavcodec/huffyuvdec.c:189: error: Buffer Overrun L2
  Offset: [0, 257] (⇐ [0, 2] + [0, 255]) Size: 3 by call to `ff_huffyuv_generate_bits_table`.

libavcodec/huffyuvdec.c:179:1: Parameter `s->len[*]`
177. }
178. 
179. static int read_huffman_tables(HYuvContext *s, const uint8_t *src, int length)
     ^
180. {
181.     GetBitContext gb;

libavcodec/huffyuvdec.c:189:13: Call
187.         if (read_len_table(s->len[i], &gb) < 0)
188.             return -1;
189.         if (ff_huffyuv_generate_bits_table(s->bits[i], s->len[i]) < 0) {
                 ^
190.             return -1;
191.         }

libavcodec/huffyuv.c:45:14: <Offset trace>
43. 
44.     for (len = 32; len > 0; len--) {
45.         for (index = 0; index < 256; index++) {
                 ^
46.             if (len_table[index] == len)
47.                 dst[index] = bits++;

libavcodec/huffyuv.c:45:14: Assignment
  43. 
  44.     for (len = 32; len > 0; len--) {
  45.         for (index = 0; index < 256; index++) {
                   ^
  46.             if (len_table[index] == len)
  47.                 dst[index] = bits++;

libavcodec/huffyuv.c:39:1: <Length trace>
37. #include "huffyuv.h"
38. 
39. int ff_huffyuv_generate_bits_table(uint32_t *dst, const uint8_t *len_table)
    ^
40. {
41.     int len, index;

libavcodec/huffyuv.c:39:1: Parameter `*len_table`
  37. #include "huffyuv.h"
  38. 
  39. int ff_huffyuv_generate_bits_table(uint32_t *dst, const uint8_t *len_table)
      ^
  40. {
  41.     int len, index;

libavcodec/huffyuv.c:46:17: Array access: Offset: [0, 257] (⇐ [0, 2] + [0, 255]) Size: 3 by call to `ff_huffyuv_generate_bits_table` 
  44.     for (len = 32; len > 0; len--) {
  45.         for (index = 0; index < 256; index++) {
  46.             if (len_table[index] == len)
                      ^
  47.                 dst[index] = bits++;
  48.         }
