diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-09-17 21:48:43 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-10-21 22:19:37 +0200 |
commit | 2dacd939ace7ff2ec41c4b81a412bb7bd3f7ccd7 (patch) | |
tree | bff77b1540fec042f3eab75c4ccf73307f6c3d81 /libavcodec/cngdec.c | |
parent | 7e6357239c618e76dfb8cef2381c1ba182661c69 (diff) | |
download | ffmpeg-2dacd939ace7ff2ec41c4b81a412bb7bd3f7ccd7.tar.gz |
avformat/cafdec: Check that nb_frasmes fits within 64bit
Fixes: signed integer overflow: 1099511693312 * 538976288 cannot be represented in type 'long'
Fixes: 50993/clusterfuzz-testcase-minimized-ffmpeg_dem_CAF_fuzzer-6565048815845376
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 d4bb4e375975dc0d31d5309106cf6ee0ed75140f)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/cngdec.c')
0 files changed, 0 insertions, 0 deletions