diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-12-10 11:47:57 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-03 14:27:25 +0100 |
commit | 2cf1eefae5dba7a7259156f9ff5c62f4e4e2fe0d (patch) | |
tree | c4693ff4fa9f0acd57b6a820ffd8a7786dbfcd80 /doc/issue_tracker.txt | |
parent | 112fe0ff194ffe7670fbc0690e6b15ba6279e11a (diff) | |
download | ffmpeg-2cf1eefae5dba7a7259156f9ff5c62f4e4e2fe0d.tar.gz |
avformat/apngdec: Return error for incomplete header
If avio_read() could read anything, it returns the number of bytes read,
even if it could not read as much as the caller desired.
apng_read_header() only checked the return value of its avio_read() calls
for being negative and this meant that it was possible for an incomplete
header to not be detected. The return value of the last successfull call
has been returned instead. This commit changes this.
Fixes: OOM
Fixes: 26608/clusterfuzz-testcase-minimized-ffmpeg_dem_APNG_fuzzer-4839491644424192
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'doc/issue_tracker.txt')
0 files changed, 0 insertions, 0 deletions