diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-02-02 19:28:15 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-02-20 14:21:24 +0100 |
commit | 2d155dcb7eae50a448c71af9c2324eafd47a98f5 (patch) | |
tree | 7bb554d1c0eb573cc80a78308a7214d5331e050e /libavfilter/formats.c | |
parent | a4bb9b5aada7d78c7169d3ce3932494e609bceb4 (diff) | |
download | ffmpeg-2d155dcb7eae50a448c71af9c2324eafd47a98f5.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 'libavfilter/formats.c')
0 files changed, 0 insertions, 0 deletions