diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-06-21 12:24:04 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-05 13:01:36 +0200 |
commit | 542bfa483c19be2adf63e750c6ad074e581e45af (patch) | |
tree | 552d9942ce4c99ddd7024dcc63e6544d3c66462d /libavcodec/bswapdsp.h | |
parent | 8cae3778ea21388be0bcbe747826e8cd63832b7b (diff) | |
download | ffmpeg-542bfa483c19be2adf63e750c6ad074e581e45af.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/bswapdsp.h')
0 files changed, 0 insertions, 0 deletions