mirror of https://github.com/FFmpeg/FFmpeg.git
If allocating fonts fails when reading the header, all fonts are freed, yet the counter of fonts is not reset and no error is returned; when subtitles are decoded lateron, the inexistent list of fonts is searched for the matching font for this particular entry which of course leads to a segfault. Reviewed-by: Philip Langdale <philipl@overt.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>pull/355/head
parent
9860777516
commit
5758620560
1 changed files with 1 additions and 2 deletions
Loading…
Reference in new issue