avcodec/iff: Fix mask_buf / mask_palbuf leak
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 22 Jun 2019 18:05:15 +0000 (20:05 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 27 Jun 2019 15:50:47 +0000 (17:50 +0200)
commit4d2343825c04fdf0433678da2d58d6f342124e3f
tree8bc148ed21e1cbd8d2242162fcb3d2e45f51bd59
parent45d3ba9e5f57761a56f08f743f8ba9a137fca623
avcodec/iff: Fix mask_buf / mask_palbuf leak

Fixes: 15372/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IFF_ILBM_fuzzer-5708881759567872

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 92e8db532cdee3c73913174413428ffdc35032e2)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/iff.c