libavfilter/vsrc_testsrc.c:329: error: Buffer Overrun L3
  Offset: [-9, 9] Size: 10 by call to `draw_digit`.

libavfilter/vsrc_testsrc.c:323:9: Assignment
321.     seg_size = width / 80;
322.     if (seg_size >= 1 && height >= 13 * seg_size) {
323.         second = test->nb_frame * test->time_base.num / test->time_base.den;
             ^
324.         x = width - (width - seg_size * 64) / 2;
325.         y = (height - seg_size * 13) / 2;

libavfilter/vsrc_testsrc.c:329:13: Call
327.         for (i = 0; i < 8; i++) {
328.             p -= 3 * 8 * seg_size;
329.             draw_digit(second % 10, p, frame->linesize[0], seg_size);
                 ^
330.             second /= 10;
331.             if (second == 0)

libavfilter/vsrc_testsrc.c:192:1: <Offset trace>
190. }
191. 
192. static void draw_digit(int digit, uint8_t *dst, unsigned dst_linesize,
     ^
193.                        unsigned segment_width)
194. {

libavfilter/vsrc_testsrc.c:192:1: Parameter `digit`
  190. }
  191. 
  192. static void draw_digit(int digit, uint8_t *dst, unsigned dst_linesize,
       ^
  193.                        unsigned segment_width)
  194. {

libavfilter/vsrc_testsrc.c:213:5: <Length trace>
211.         { 6,  7, 1, 5 }  /* RIGHT_BOT_VBAR */
212.     };
213.     static const unsigned char masks[10] = {
         ^
214.         /* 0 */ TOP_HBAR         |BOT_HBAR|LEFT_TOP_VBAR|LEFT_BOT_VBAR|RIGHT_TOP_VBAR|RIGHT_BOT_VBAR,
215.         /* 1 */                                                        RIGHT_TOP_VBAR|RIGHT_BOT_VBAR,

libavfilter/vsrc_testsrc.c:213:5: Array declaration
  211.         { 6,  7, 1, 5 }  /* RIGHT_BOT_VBAR */
  212.     };
  213.     static const unsigned char masks[10] = {
           ^
  214.         /* 0 */ TOP_HBAR         |BOT_HBAR|LEFT_TOP_VBAR|LEFT_BOT_VBAR|RIGHT_TOP_VBAR|RIGHT_BOT_VBAR,
  215.         /* 1 */                                                        RIGHT_TOP_VBAR|RIGHT_BOT_VBAR,

libavfilter/vsrc_testsrc.c:225:21: Array access: Offset: [-9, 9] Size: 10 by call to `draw_digit` 
  223.         /* 9 */ TOP_HBAR|BOT_HBAR|MID_HBAR|LEFT_TOP_VBAR              |RIGHT_TOP_VBAR|RIGHT_BOT_VBAR,
  224.     };
  225.     unsigned mask = masks[digit];
                           ^
  226.     int i;
  227. 
