libavcodec/yop.c:228: error: Buffer Overrun L2
  Offset: [0, max(15, `*avpkt->data`)] Size: 15 by call to `yop_paint_block`.

libavcodec/yop.c:178:1: Parameter `*avpkt->data`
176. }
177. 
178. static int yop_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
     ^
179.                             AVPacket *avpkt)
180. {

libavcodec/yop.c:225:19: Call
223.             }
224. 
225.             tag = yop_get_next_nibble(s);
                       ^
226. 
227.             if (tag != 0xf) {

libavcodec/yop.c:164:1: Parameter `*s->low_nibble`
  162.  * only if necessary.
  163.  */
  164. static uint8_t yop_get_next_nibble(YopDecContext *s)
       ^
  165. {
  166.     int ret;

libavcodec/yop.c:169:9: Assignment
  167. 
  168.     if (s->low_nibble) {
  169.         ret           = *s->low_nibble & 0xf;
               ^
  170.         s->low_nibble = NULL;
  171.     }else {

libavcodec/yop.c:175:5: Assignment
  173.         ret           = *s->low_nibble >> 4;
  174.     }
  175.     return ret;
           ^
  176. }
  177. 

libavcodec/yop.c:225:13: Assignment
223.             }
224. 
225.             tag = yop_get_next_nibble(s);
                 ^
226. 
227.             if (tag != 0xf) {

libavcodec/yop.c:228:23: Call
226. 
227.             if (tag != 0xf) {
228.                 ret = yop_paint_block(s, frame->linesize[0], tag);
                           ^
229.                 if (ret < 0)
230.                     return ret;

libavcodec/yop.c:118:1: <Offset trace>
116.  * @param tag the tag that was in the nibble
117.  */
118. static int yop_paint_block(YopDecContext *s, int linesize, int tag)
     ^
119. {
120.     if (s->src_end - s->srcptr < paint_lut[tag][3]) {

libavcodec/yop.c:118:1: Parameter `tag`
  116.  * @param tag the tag that was in the nibble
  117.  */
  118. static int yop_paint_block(YopDecContext *s, int linesize, int tag)
       ^
  119. {
  120.     if (s->src_end - s->srcptr < paint_lut[tag][3]) {

libavcodec/yop.c:55:1: <Length trace>
53.  * equal to max(bytes 0-2) + 1.
54.  */
55. static const uint8_t paint_lut[15][4] =
    ^
56.     {{1, 2, 3, 4}, {1, 2, 0, 3},
57.      {1, 2, 1, 3}, {1, 2, 2, 3},

libavcodec/yop.c:55:1: Array declaration
  53.  * equal to max(bytes 0-2) + 1.
  54.  */
  55. static const uint8_t paint_lut[15][4] =
      ^
  56.     {{1, 2, 3, 4}, {1, 2, 0, 3},
  57.      {1, 2, 1, 3}, {1, 2, 2, 3},

libavcodec/yop.c:120:34: Array access: Offset: [0, max(15, *avpkt->data)] Size: 15 by call to `yop_paint_block` 
  118. static int yop_paint_block(YopDecContext *s, int linesize, int tag)
  119. {
  120.     if (s->src_end - s->srcptr < paint_lut[tag][3]) {
                                        ^
  121.         av_log(s->avctx, AV_LOG_ERROR, "Packet too small.\n");
  122.         return AVERROR_INVALIDDATA;
