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

Andrew Savchenko bircoph at gmail.com
Wed Aug 5 23:22:39 CEST 2009


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.

-- 
Best regards,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ass-crash.patch
Type: text/x-diff
Size: 814 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090806/2500a02d/attachment.patch>


More information about the MPlayer-dev-eng mailing list