[MPlayer-dev-eng] [PATCH] off-by-one error in sub_read_line_ssa causing segfault for long subtitles
Jindrich Makovicka
makovick at kmlinux.fjfi.cvut.cz
Fri May 31 14:59:35 CEST 2002
Hello,
when this function encounters a multiline subtitle with more lines than
SUB_MAX_TEXT, this stupid bug manifests. The function actually reads one
line less than the returned count. Subsequently, either during iconv or
during playing a null pointer gets referenced, with obvious result.
Regards,
--
Jindrich Makovicka
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: subreader.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020531/804a106d/attachment.txt>
More information about the MPlayer-dev-eng
mailing list