aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/psymodel.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2021-02-10 22:28:20 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2021-09-10 16:04:26 +0200
commita2dbe8005daa0628df92bb720dc341dd2d3b6fd0 (patch)
tree9bf23867aa4f138d551d37c7934d996e387c2197 /libavcodec/psymodel.c
parent7628ea6d0120ef0a264c89b73fa9565d8fe93253 (diff)
downloadffmpeg-a2dbe8005daa0628df92bb720dc341dd2d3b6fd0.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 'libavcodec/psymodel.c')
0 files changed, 0 insertions, 0 deletions