diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-06-21 12:24:04 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-02 10:20:36 +0200 |
commit | 3571d9d654f78c3c16ec17c8260d28f211e9571b (patch) | |
tree | 18674f4c3b19f74ee5fac280ea187e4d04dc25e0 /libavcodec/hq_hqadsp.c | |
parent | f27a51021114a603597e5bbd0adb410ab84b2697 (diff) | |
download | ffmpeg-3571d9d654f78c3c16ec17c8260d28f211e9571b.tar.gz |
avformat/utils: reorder duration computation to avoid overflow
Fixes: signed integer overflow: 8 * 9223372036854774783 cannot be represented in type 'long'
Fixes: 23381/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-4818340509122560
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 10cc82c35baabbb07ffec3faccb04d8928c39e4c)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/hq_hqadsp.c')
0 files changed, 0 insertions, 0 deletions