]> git.sesse.net Git - ffmpeg/commit
avcodec/utils: Check close before calling it
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 20 Jul 2019 22:08:55 +0000 (00:08 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 21 Jul 2019 10:39:42 +0000 (12:39 +0200)
commit8df6884832ec413cf032dfaa45c23b1c7876670c
tree2387b42cdc1bb060eb30d9f50c9ba8887acba19f
parent508ce5839e0bf78ce8813eb1b38cce0d416a408e
avcodec/utils: Check close before calling it

Fixes: NULL pointer dereference
Fixes: 15733/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IDF_fuzzer-5658616977162240
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/utils.c