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

libavcodec/huffyuvdec.c:186:1: Parameter `s->len[*]`
184. }
185. 
186. static int read_huffman_tables(HYuvContext *s, const uint8_t *src, int length)
     ^
187. {
188.     GetBitContext gb;

libavcodec/huffyuvdec.c:197:20: Call
195.         if ((ret = read_len_table(s->len[i], &gb)) < 0)
196.             return ret;
197.         if ((ret = ff_huffyuv_generate_bits_table(s->bits[i], s->len[i])) < 0)
                        ^
198.             return ret;
199.         ff_free_vlc(&s->vlc[i]);

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.         }
