]> git.sesse.net Git - ffmpeg/commit
avformat/paf: Check for EOF before allocation in read_header()
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 19 Jan 2021 23:11:34 +0000 (00:11 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 Mar 2021 21:08:49 +0000 (22:08 +0100)
commitbcb1e9d3b9b97359e01e5978067c8ee558efa8b4
tree6246fbc8a860b7ce80a20285f4e54d5c9bc0938f
parent12aca5d7b0ce8214c699105b3dbe8cb6eff028dd
avformat/paf: Check for EOF before allocation in read_header()

Fixes: OOM
Fixes: 26584/clusterfuzz-testcase-minimized-ffmpeg_dem_PAF_fuzzer-5172661183053824
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/paf.c