diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-09-18 16:42:21 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-09-26 16:51:03 +0200 |
commit | 765b73c9be6e37ab40a61a43b63bba2404030cbb (patch) | |
tree | 56692eaaa6bccb501928a1530b2288f2a2b94779 /libavcodec/aacpsdsp_template.c | |
parent | 964fb9f59f1054052875389c73bec3278d9c2519 (diff) | |
download | ffmpeg-765b73c9be6e37ab40a61a43b63bba2404030cbb.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 'libavcodec/aacpsdsp_template.c')
0 files changed, 0 insertions, 0 deletions