diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-09-18 16:42:21 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-10-09 22:15:51 +0200 |
commit | 02402b49aff9b4456db4560e572647ed0e404320 (patch) | |
tree | fdf53b36f2aeb582f10855158ccba3489b2dc245 /libavcodec/h263_parser.c | |
parent | 74b61efa914a07866a1f7237010f5af083a8a5bb (diff) | |
download | ffmpeg-02402b49aff9b4456db4560e572647ed0e404320.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/h263_parser.c')
0 files changed, 0 insertions, 0 deletions