1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00
FFmpeg/libavcodec
Michael Niedermayer be62e51943 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>
2021-09-09 13:53:29 +02:00
..
2020-07-01 22:25:21 +02:00
2021-09-09 13:37:21 +02:00
2020-01-06 15:03:15 +01:00
2021-09-09 13:37:20 +02:00
2020-07-03 12:10:24 +02:00
2020-01-06 15:03:15 +01:00
2020-07-03 12:10:24 +02:00
2020-07-03 12:10:24 +02:00
2020-07-03 12:10:24 +02:00
2020-07-03 12:10:24 +02:00
2021-09-09 13:37:20 +02:00
2020-07-03 12:10:23 +02:00
2020-07-03 12:10:23 +02:00
2021-09-09 13:37:20 +02:00
2021-09-09 13:37:21 +02:00
2021-09-09 13:37:20 +02:00
2020-07-01 22:18:52 +02:00