diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-08-08 21:23:31 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-08-22 18:08:00 +0200 |
commit | 65892516d52c268bd66ef825c4b1c8050a69d732 (patch) | |
tree | dad0b71f10b0c0b61e62e308a61f8c3fba613583 /libavcodec/h264dec.c | |
parent | c59b5e3d1e0121ea23b5b326529f5bdca44cf982 (diff) | |
download | ffmpeg-65892516d52c268bd66ef825c4b1c8050a69d732.tar.gz |
avcodec/h264dec: use picture parameters in ff_print_debug_info2()
Fixes: out of array read
Fixes: 36341/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-6737583085322240
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/h264dec.c')
-rw-r--r-- | libavcodec/h264dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 38f8967265..07ff9110d2 100644 --- a/libavcodec/h264dec.c +++ b/libavcodec/h264dec.c @@ -914,7 +914,7 @@ static int finalize_frame(H264Context *h, AVFrame *dst, H264Picture *out, int *g out->qscale_table, out->motion_val, NULL, - h->mb_width, h->mb_height, h->mb_stride, 1); + out->mb_width, out->mb_height, out->mb_stride, 1); } } |