avformat/vqf: Check header_size
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 18 Jun 2019 21:17:23 +0000 (23:17 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 29 Jun 2019 17:22:19 +0000 (19:22 +0200)
commit7c30ff38880570377168096417f714b21102b343
treeb604c62c7ddca3b8144f1cf55025153efb760aca
parentfb4a4557d15bce601e2462207648741600fa273f
avformat/vqf: Check header_size

Fixes: 15271/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5735262606327808
Fixes: signed integer overflow: -2147483648 - 8 cannot be represented in type 'int'

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