]> git.sesse.net Git - ffmpeg/commit
avformat/utils: wrap_timestamp() is only needed for less than 64 bits
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 23 Oct 2020 08:53:18 +0000 (10:53 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 11 Jan 2021 22:17:36 +0000 (23:17 +0100)
commitb0259aa248e44dcc6960fa340d6377dd80026105
tree4448abc0367ef20374f278f478580e73c2f6a9c2
parentfcc263caa9e11a1f94431a6d356a48003c636ef6
avformat/utils: wrap_timestamp() is only needed for less than 64 bits

Fixes: shift exponent 64 is too large for 64-bit type 'unsigned long long'
Fixes: 26497/clusterfuzz-testcase-minimized-ffmpeg_dem_AVI_fuzzer-5690188355076096
Fixes: 26903/clusterfuzz-testcase-minimized-ffmpeg_dem_LUODAT_fuzzer-5641466929741824
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/utils.c