[FFmpeg-trac] #6804(undetermined:new): Corrupt file crashes ffmpeg with assertion failure.

FFmpeg trac at avcodec.org
Fri Nov 3 20:16:02 EET 2017


#6804: Corrupt file crashes ffmpeg with assertion failure.
-------------------------------------+-------------------------------------
               Reporter:             |                  Owner:
  dalecurtis                         |                 Status:  new
                   Type:  defect     |              Component:
               Priority:  normal     |  undetermined
                Version:             |               Keywords:
  unspecified                        |               Blocking:
             Blocked By:             |  Analyzed by developer:  0
Reproduced by developer:  0          |
-------------------------------------+-------------------------------------
 Using master branch, run ffmpeg -i on the attached file and observe the
 following:

 [ogg @ 0x125f380] Codec not found
 [ogg @ 0x125f380] Invalid timing values.
     Last message repeated 1 times
 [ogg @ 0x125f380] Header parsing failed for stream 1
 [ogg @ 0x125f380] Header parsing failed for stream 2
 [ogg @ 0x125f380] Headers mismatch for stream 3: expected 2 received 0.
 [ogg @ 0x125f380] New streams are not supposed to be added in between Ogg
 context save/restore operations.
 [ogg @ 0x125f380] failed to create or replace stream
 [ogg @ 0x125f380] Codec not found
 [ogg @ 0x125f380] Invalid timing values.
 Assertion 0 failed at libavcodec/gsm_parser.c:59
 Aborted (core dumped)

 Seems this should return an error instead of crashing, but the parse() api
 doesn't seem to provide a way for error codes to be returned.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6804>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list