diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-03-03 10:49:03 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-11 21:23:49 +0200 |
commit | a072c4a1789941b5968e264f33099b6f8a1d18cb (patch) | |
tree | d0a84c2d79632b7eeeb386d1cf6f135c7d9cd15c /libavcodec/ljpegenc.c | |
parent | a3cac14fb92075cb9385c35bcd5b2a619ac968d1 (diff) | |
download | ffmpeg-a072c4a1789941b5968e264f33099b6f8a1d18cb.tar.gz |
avformat/dcstr: Check sample rate
Fixes: signed integer overflow: -1300248894420254720 * 16 cannot be represented in type 'long'
Fixes: 30879/clusterfuzz-testcase-minimized-ffmpeg_dem_DCSTR_fuzzer-5094464215449600
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit fdcb966f4a3c6f872891b8dd554e3652b9e02d4f)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/ljpegenc.c')
0 files changed, 0 insertions, 0 deletions