diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-09-18 16:42:21 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-09-24 22:56:03 +0200 |
commit | 136189522975e252d303cf9fb9e86bb19a5fe709 (patch) | |
tree | 501df5f9e920b8157d2e3963b7f6a8fc90881fef /libavformat/nistspheredec.c | |
parent | 82bd617683452a4a2e3eb7126efb495198036b1c (diff) | |
download | ffmpeg-136189522975e252d303cf9fb9e86bb19a5fe709.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/nistspheredec.c')
0 files changed, 0 insertions, 0 deletions