diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-08-14 23:39:56 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-10-09 21:33:01 +0200 |
commit | 85f1286c8f4ed33f3ed43cc28d5dda044e1764ca (patch) | |
tree | 11e408ce5508daadc7d64046eb6b0979051cb1d4 /libavcodec/lossless_videoencdsp.c | |
parent | 6b42366763e6aefd503e760abc1134d06017015a (diff) | |
download | ffmpeg-85f1286c8f4ed33f3ed43cc28d5dda044e1764ca.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 'libavcodec/lossless_videoencdsp.c')
0 files changed, 0 insertions, 0 deletions