diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-10-01 15:54:48 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-10-02 17:16:29 +0200 |
commit | 8766361fc16b6d25ee8be880bf55c9761490cb99 (patch) | |
tree | d4f79fd4a736f7aa0d653aa9a96009578d4d2748 /libavcodec/flac_parser.c | |
parent | 2004d8d36dd5f85ae806ea00f7cd78a2c65d3815 (diff) | |
download | ffmpeg-8766361fc16b6d25ee8be880bf55c9761490cb99.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>
Diffstat (limited to 'libavcodec/flac_parser.c')
0 files changed, 0 insertions, 0 deletions