diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-10-23 20:39:33 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-09 13:53:29 +0200 |
commit | be62e519435b7995cc551740e3dd81c7d3c96ef4 (patch) | |
tree | b528c7a305975cbf8d180caec7875a199660d738 /libswresample/resample.h | |
parent | c7fd8744b5861eb908e9a4d28e6450a331056e96 (diff) | |
download | ffmpeg-be62e519435b7995cc551740e3dd81c7d3c96ef4.tar.gz |
avcodec/magicyuv: Check slice size before reading flags and pred
Fixes: heap-buffer-overflow
Fixes: 26487/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MAGICYUV_fuzzer-5742553675333632
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 0dc42147b6843b133d4fa46bf1c2568a837b4bec)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswresample/resample.h')
0 files changed, 0 insertions, 0 deletions