diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-10-23 20:39:33 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-02-02 14:18:21 +0100 |
commit | 5e880774dcb32e4c5241d77f3c187ee483f1dbba (patch) | |
tree | 1ba75e4ac89fb6c813252c93c612e2a21224bea9 /tests/ref/fate/sub-stl | |
parent | fee0e0ddbf628e1c0f2e1e15c40dc0fa7649d9f8 (diff) | |
download | ffmpeg-5e880774dcb32e4c5241d77f3c187ee483f1dbba.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 'tests/ref/fate/sub-stl')
0 files changed, 0 insertions, 0 deletions