[MPlayer-dev-eng] [PATCH] Fix hang on demux of matroska files with 0byte-ints using 'mkv' demuxer

compn tempn at twmi.rr.com
Thu Oct 7 07:01:56 CEST 2010


On Thu, 7 Oct 2010 03:13:54 +0200, Michael Niedermayer wrote:
>On Sun, Sep 05, 2010 at 11:36:06AM +0200, Reimar Döffinger wrote:
>> On Wed, Sep 01, 2010 at 12:00:42AM +0200, Aurelien Jacobs wrote:
>> > On Sun, Aug 29, 2010 at 06:28:39PM +0200, Sebastian Hagen wrote:
>> > > Hello *,
>> > > 
>> > > Mplayer's 'mkv' matroska file demuxer has a bug preventing it from
>> > > parsing integers with a length of 0 bytes correctly, even though those
>> > > are valid according to the Matroska specs[1]. Thus, attempting to play
>> > > mkv files containing such integers without explicitly specifying
>> > > '-demuxer lavf' will result in an mplayer hang on demux.
>> > 
>> > What are you talking about exactly ?
>> > '-demuxer lavf' is the default behavior.
>> > And if you are using '-demuxer mkv', you are explicitly asking for
>> > trouble...
>> 
>> Could you please have a look that there's nothing _obvious_ wrong
>> with the patch?
>> And then let's just apply all these patches, even with lavf the default
>> it is easy enough for a malicious file to manage to end up with the mkv
>> demuxer by failing with the lavf one, and I don't think completely
>> removing the native one is an option, so we really can't just leave
>> these things.
>
>why is completely removing the native one not an option?

because the trolls come out with bugs (but not bugreports/samples) every
time someone suggests it.

-compn


More information about the MPlayer-dev-eng mailing list