libavcodec/dxtory.c:498: error: Buffer Overrun L2
  Offset: [2, 9] (⇐ 2 + [0, 7]) Size: 3 by call to `decode_sym`.

libavcodec/dxtory.c:481:1: Array declaration
479. }
480. 
481. static int dx2_decode_slice_420(GetBitContext *gb, int width, int height,
     ^
482.                                 uint8_t *Y, uint8_t *U, uint8_t *V,
483.                                 int ystride, int ustride, int vstride)

libavcodec/dxtory.c:498:25: Call
496.             Y[x + 1 + 1 * ystride] = decode_sym(gb, lru[0]);
497.             U[x >> 1] = decode_sym(gb, lru[1]) ^ 0x80;
498.             V[x >> 1] = decode_sym(gb, lru[2]) ^ 0x80;
                             ^
499.         }
500. 

libavcodec/dxtory.c:180:9: <Offset trace>
178.     uint8_t c, val;
179. 
180.     c = get_unary(gb, 0, 8);
             ^
181.     if (!c) {
182.         val = get_bits(gb, 8);

libavcodec/dxtory.c:180:9: Call
  178.     uint8_t c, val;
  179. 
  180.     c = get_unary(gb, 0, 8);
               ^
  181.     if (!c) {
  182.         val = get_bits(gb, 8);

libavcodec/unary.h:33:1: Parameter `len`
    31.  * @return Unary length/index
    32.  */
    33. static inline int get_unary(GetBitContext *gb, int stop, int len)
        ^
    34. {
    35.     int i;

libavcodec/unary.h:38:5: Assignment
    36. 
    37.     for(i = 0; i < len && get_bits1(gb) != stop; i++);
    38.     return i;
            ^
    39. }
    40. 

libavcodec/dxtory.c:180:5: Assignment
  178.     uint8_t c, val;
  179. 
  180.     c = get_unary(gb, 0, 8);
           ^
  181.     if (!c) {
  182.         val = get_bits(gb, 8);

libavcodec/dxtory.c:176:1: <Length trace>
174. const uint8_t def_lru_565[8] = { 0x00, 0x08, 0x10, 0x20, 0x30, 0x3F };
175. 
176. static inline uint8_t decode_sym(GetBitContext *gb, uint8_t lru[8])
     ^
177. {
178.     uint8_t c, val;

libavcodec/dxtory.c:176:1: Parameter `*lru`
  174. const uint8_t def_lru_565[8] = { 0x00, 0x08, 0x10, 0x20, 0x30, 0x3F };
  175. 
  176. static inline uint8_t decode_sym(GetBitContext *gb, uint8_t lru[8])
       ^
  177. {
  178.     uint8_t c, val;

libavcodec/dxtory.c:185:15: Array access: Offset: [2, 9] (⇐ 2 + [0, 7]) Size: 3 by call to `decode_sym` 
  183.         memmove(lru + 1, lru, sizeof(*lru) * (8 - 1));
  184.     } else {
  185.         val = lru[c - 1];
                     ^
  186.         memmove(lru + 1, lru, sizeof(*lru) * (c - 1));
  187.     }
