diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-08-14 23:39:56 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-10-09 22:15:43 +0200 |
commit | ec9af84dc5445d272092e91452fa67d796729e1f (patch) | |
tree | 9b35fcec0a81155b441d419f3a91e026a2f343ae /doc/examples/vaapi_encode.c | |
parent | 8229f4327f8501f52fb821cec37985e09180541e (diff) | |
download | ffmpeg-ec9af84dc5445d272092e91452fa67d796729e1f.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/vaapi_encode.c')
0 files changed, 0 insertions, 0 deletions