diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-09-18 16:42:21 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-11-03 23:29:53 +0100 |
commit | c895e6d0b34c328690f8c69946f15f73265ae7ae (patch) | |
tree | 3c5193eb20b1f854f4b41584d516df4b66f75322 /libavformat/dvenc.c | |
parent | ba1b943c055ccf5b2541fe258a1d1e4d4d28a478 (diff) | |
download | ffmpeg-c895e6d0b34c328690f8c69946f15f73265ae7ae.tar.gz |
avformat/sdsdec: Use av_rescale() to avoid intermediate overflow in duration calculation
Fixes: signed integer overflow: 72128794995445727 * 240 cannot be represented in type 'long'
Fixes: 50993/clusterfuzz-testcase-minimized-ffmpeg_dem_SDS_fuzzer-6628185583779840
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 aa8eb1bed075931b0ce0a8bc9a8ff5882830044c)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/dvenc.c')
0 files changed, 0 insertions, 0 deletions