diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-02-02 19:28:15 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-10 16:04:26 +0200 |
commit | 5acfef072763b0456154861045d2466bef181747 (patch) | |
tree | 72763e1b2500019bd840db045d3ebef4e24678c7 /libavcodec/mqc.c | |
parent | 4b8666d20f38973ef32908d44f792153f1116ab2 (diff) | |
download | ffmpeg-5acfef072763b0456154861045d2466bef181747.tar.gz |
avcodec/fits: Check gcount and pcount being non negative
Fixes: signed integer overflow: 9223372036854775807 - -30069403896 cannot be represented in type 'long'
Fixes: 30046/clusterfuzz-testcase-minimized-ffmpeg_dem_FITS_fuzzer-5807144773484544
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 c000a9128815e7cee4316dc45605259bbaa138ff)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mqc.c')
0 files changed, 0 insertions, 0 deletions