diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-01-20 00:11:34 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-11 21:23:49 +0200 |
commit | a3d5698106a16c6ba84949d3f1d2557c78e1c1e9 (patch) | |
tree | 66b056b2ca05729e91ce3f1336d3e7a23a7746d2 /libavcodec/huffman.h | |
parent | 15321c10b6e5772e7e874ac4e1b8a4feec90a872 (diff) | |
download | ffmpeg-a3d5698106a16c6ba84949d3f1d2557c78e1c1e9.tar.gz |
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>
(cherry picked from commit bcb1e9d3b9b97359e01e5978067c8ee558efa8b4)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/huffman.h')
0 files changed, 0 insertions, 0 deletions