diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-08-14 23:39:56 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-08-23 23:18:48 +0200 |
commit | 371fc3769bc633b978128e51a5953eea2276038b (patch) | |
tree | 8c5d6138aae2b8128036f11c1c2ab7f4077d8639 /doc/examples/hw_decode.c | |
parent | fd1db5262b29cc755961b8a48cdc640978720a0b (diff) | |
download | ffmpeg-371fc3769bc633b978128e51a5953eea2276038b.tar.gz |
avcodec/hevcdec: Check s->ref in the md5 path similar to hwaccel
This is somewhat redundant with the is_decoded check. Maybe
there is a nicer solution
Fixes: Null pointer dereference
Fixes: 49584/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-5297367351427072
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 3b51e1992289383aa9f083c88e153e34b6412c89)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'doc/examples/hw_decode.c')
0 files changed, 0 insertions, 0 deletions