diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-02-10 22:28:20 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-02-20 14:21:24 +0100 |
commit | 12b329a51d1ab36e06d5cb42527a52b62eb52b06 (patch) | |
tree | d19ef285201edefb9084cfa410edde0d8998c06c /libavutil/aarch64/timer.h | |
parent | 8a88150ffcf4dd39e65d97811fcd6269f0306eb7 (diff) | |
download | ffmpeg-12b329a51d1ab36e06d5cb42527a52b62eb52b06.tar.gz |
avcodec/pnm_parser: Check av_image_get_buffer_size() for failure
Fixes: out of array access
Fixes: 30135/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PBM_fuzzer-4997145650397184
Fixes: 30208/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGMYUV_fuzzer-5605891665690624.fuzz
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 5314a4996cc76e2a8534c74a66f5181e95ac64fc)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/aarch64/timer.h')
0 files changed, 0 insertions, 0 deletions