[FFmpeg-trac] #3721(avformat:new): crash on a valid rtp mpegts stream

FFmpeg trac at avcodec.org
Tue Jun 17 09:15:28 CEST 2014


#3721: crash on a valid rtp mpegts stream
------------------------------------+------------------------------------
             Reporter:  lavv17      |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  mpegts      |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by lavv17):

 It looks like a problem with format auto-detection. s->priv_data is not
 correctly allocated at util.c:577 (with priv_data_size=5912), but later it
 is assumed to be MpegTSContext and sizeof(MpegTSContext) = 73848, thus it
 overwrites memory past allocated buffer.

 When I run ffmpeg with explicit "-f mpegts" it correctly allocates
 priv_data_size=73848 and does not crash.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3721#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list