[MPlayer-dev-eng] [PATCH] ass.c: fix NULL pointer dereference on broken ass header

Andrew Savchenko bircoph at gmail.com
Thu Aug 13 12:03:45 CEST 2009


On Thursday 06 August 2009, Andrew Savchenko wrote:
> Hello,
>
> this is bug reported by my friend (in Russian).
> If header of Events section doesn't contain Format, mplayer
> crashes. Real life example is attached (it is truncated, but
> still essential).
>
> Fix is rather trivial. For now this is fallback for reasonable
> defaults when format can't be parsed.

No comments?
I appreciate movemet towards external libass, but until then bugs 
and especially crashes should be fixed.

Will apply in a week if no objections.

-- 
Best regards,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090813/5289e3ad/attachment.pgp>


More information about the MPlayer-dev-eng mailing list