diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-10-01 15:54:48 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-11 15:15:53 +0100 |
commit | fd5726a2261b52dde878cb35f8a0781d9bd714bc (patch) | |
tree | 31660fa16bf47197dab16f84a6beb791285f04ca /libavformat/wtvdec.c | |
parent | 91b06840247273755630e75f76b9931467847ee8 (diff) | |
download | ffmpeg-fd5726a2261b52dde878cb35f8a0781d9bd714bc.tar.gz |
avformat/subtitles: Honour ff_subtitles_read_line() documentation
It claims to always zero-terminate its buffer like snprintf(),
yet it does it not on EOF. Because of this the mcc demuxer
used uninitialized values when reading an empty input file.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
(cherry picked from commit 8766361fc16b6d25ee8be880bf55c9761490cb99)
Diffstat (limited to 'libavformat/wtvdec.c')
0 files changed, 0 insertions, 0 deletions