libavformat/mpegtsenc.c:331: error: Buffer Overrun L2
  Offset added: [5, 189] (⇐ [4, 5] + [1, 184]) Size: 188 by call to `mpegts_write_section1`.

libavformat/mpegtsenc.c:297:1: Array declaration
295. }
296. 
297. static void mpegts_write_sdt(AVFormatContext *s)
     ^
298. {
299.     MpegTSWrite *ts = s->priv_data;

libavformat/mpegtsenc.c:331:5: Call
329.         desc_list_len_ptr[1] = val;
330.     }
331.     mpegts_write_section1(&ts->sdt, SDT_TID, ts->tsid, 0, 0, 0,
         ^
332.                           data, q - data);
333. }

libavformat/mpegtsenc.c:94:1: Parameter `len`
  92. }
  93. 
  94. static int mpegts_write_section1(MpegTSSection *s, int tid, int id,
      ^
  95.                           int version, int sec_num, int last_sec_num,
  96.                           uint8_t *buf, int len)

libavformat/mpegtsenc.c:101:5: Assignment
   99.     unsigned int tot_len;
  100. 
  101.     tot_len = 3 + 5 + len + 4;
           ^
  102.     /* check if not too big */
  103.     if (tot_len > 1024)

libavformat/mpegtsenc.c:115:5: Call
  113.     memcpy(q, buf, len);
  114. 
  115.     mpegts_write_section(s, section, tot_len);
           ^
  116.     return 0;
  117. }

libavformat/mpegtsenc.c:39:1: <Offset trace>
37. 
38. /* NOTE: 4 bytes must be left at the end for the crc32 */
39. static void mpegts_write_section(MpegTSSection *s, uint8_t *buf, int len)
    ^
40. {
41.     unsigned int crc;

libavformat/mpegtsenc.c:39:1: Parameter `len`
    37. 
    38. /* NOTE: 4 bytes must be left at the end for the crc32 */
    39. static void mpegts_write_section(MpegTSSection *s, uint8_t *buf, int len)
        ^
    40. {
    41.     unsigned int crc;

libavformat/mpegtsenc.c:39:1: <Length trace>
37. 
38. /* NOTE: 4 bytes must be left at the end for the crc32 */
39. static void mpegts_write_section(MpegTSSection *s, uint8_t *buf, int len)
    ^
40. {
41.     unsigned int crc;

libavformat/mpegtsenc.c:39:1: Array declaration
    37. 
    38. /* NOTE: 4 bytes must be left at the end for the crc32 */
    39. static void mpegts_write_section(MpegTSSection *s, uint8_t *buf, int len)
        ^
    40. {
    41.     unsigned int crc;

libavformat/mpegtsenc.c:57:9: Assignment
    55.     while (len > 0) {
    56.         first = (buf == buf_ptr);
    57.         q = packet;
                ^
    58.         *q++ = 0x47;
    59.         b = (s->pid >> 8);

libavformat/mpegtsenc.c:58:10: Assignment
    56.         first = (buf == buf_ptr);
    57.         q = packet;
    58.         *q++ = 0x47;
                 ^
    59.         b = (s->pid >> 8);
    60.         if (first)

libavformat/mpegtsenc.c:62:10: Assignment
    60.         if (first)
    61.             b |= 0x40;
    62.         *q++ = b;
                 ^
    63.         *q++ = s->pid;
    64.         *q++ = 0x10 | s->cc;

libavformat/mpegtsenc.c:63:10: Assignment
    61.             b |= 0x40;
    62.         *q++ = b;
    63.         *q++ = s->pid;
                 ^
    64.         *q++ = 0x10 | s->cc;
    65.         s->cc = (s->cc + 1) & 0xf;

libavformat/mpegtsenc.c:64:10: Assignment
    62.         *q++ = b;
    63.         *q++ = s->pid;
    64.         *q++ = 0x10 | s->cc;
                 ^
    65.         s->cc = (s->cc + 1) & 0xf;
    66.         if (first)

libavformat/mpegtsenc.c:71:9: Array access: Offset added: [5, 189] (⇐ [4, 5] + [1, 184]) Size: 188 by call to `mpegts_write_section1` 
    69.         if (len1 > len)
    70.             len1 = len;
    71.         memcpy(q, buf_ptr, len1);
                ^
    72.         q += len1;
    73.         /* add known padding data */
