diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-06-21 12:24:04 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-03 12:10:24 +0200 |
commit | 7b3b3119d548e6057df87880c7cd6e1e38971245 (patch) | |
tree | 88e43b4f59a74168e359df292939849feb63c937 /libavdevice/oss.c | |
parent | c095e870d86775f983eb796489df30e5a6797b52 (diff) | |
download | ffmpeg-7b3b3119d548e6057df87880c7cd6e1e38971245.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 'libavdevice/oss.c')
0 files changed, 0 insertions, 0 deletions