avformat/thp: Check compcount
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 31 May 2020 12:24:04 +0000 (14:24 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 7 Jun 2020 20:01:12 +0000 (22:01 +0200)
commit1ba8484559661dfdbca36dbc17b203f33f62e26c
tree55ccd61541068d037c37c2f9a6a40a2d6872b8fb
parent6d96bae9c480e020e9f51fabd5642d7ae6020943
avformat/thp: Check compcount

Fixes: out of array access
Fixes: 22520/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5100297658826752

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/thp.c