diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-01-16 22:44:33 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-10-09 22:02:20 +0200 |
commit | 56004939a18721a20b3c6a3d2a2b8e9e35e1e365 (patch) | |
tree | c31f1752112259b344bbb2cbbfb4f8a7a025aa40 /libavformat/mpjpegdec.c | |
parent | f8a147dfde092f97dbc5d1f6fc5b0052dd602f7d (diff) | |
download | ffmpeg-56004939a18721a20b3c6a3d2a2b8e9e35e1e365.tar.gz |
avformat/nutdec: Fix integer overflow in count computation
Note, the value is checked a few lines later already
Fixes: signed integer overflow: -440402016 - 1879048064 cannot be represented in type 'int'
Fixes: 26910/clusterfuzz-testcase-minimized-ffmpeg_dem_NUT_fuzzer-6603876618469376
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 0014249fd92132515b3ff0ce034dd65e745cb400)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/mpjpegdec.c')
0 files changed, 0 insertions, 0 deletions