[MPlayer-dev-eng] [PATCH] libass: ass_render.c: SEGFAULT: return without a safe default

Evgeniy Stepanov eugeni.stepanov at gmail.com
Mon Jan 29 18:18:46 CET 2007


On Saturday 27 January 2007 19:53, Stanislav Maslovski wrote:
> Mplayer segfaults when started with -ass and the attached subtitle file.

>== Likely, a wrong (old or unset) value of info->outline_glyph has slipped
> into the code. Investigating ass_render.c around lines 1230 - 1250 we see
> that get_glyph() may return without setting outline_glyph.
>
> And "Vuala!" this solves the issue.
>
> The patch is attached.

Thanks. I've applied a slightly different version (also setting bitmap 
pointers to zero).



More information about the MPlayer-dev-eng mailing list