diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-03-28 20:36:00 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-05-19 17:17:36 +0200 |
commit | c8a767229944408b4b824f80b2e845d974fafd2a (patch) | |
tree | e42382ff0332bdd7bec6f2dc86aa12a2f7497bd8 /libavformat/img2.c | |
parent | 83f883cea734524ba0a2715bbeac27b86d8d27cd (diff) | |
download | ffmpeg-c8a767229944408b4b824f80b2e845d974fafd2a.tar.gz |
avcodec/hapdec: Check tex_size more strictly and before using it
Fixes: OOM
Fixes: 20774/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HAP_fuzzer-5678608951803904
Fixes: 20956/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HAP_fuzzer-5713643025203200
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 81fe316ad9852a3dfe46b4dc919ed1709b217671)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/img2.c')
0 files changed, 0 insertions, 0 deletions