]> git.sesse.net Git - ffmpeg/commit
avformat/utils: Extend overflow check in dts wrap in compute_pkt_fields()
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 2 Feb 2021 16:29:23 +0000 (17:29 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 31 Mar 2021 21:09:35 +0000 (23:09 +0200)
commitb37ff29e0e093b15585e9fb44bbd82bdf14b5230
tree246ef6755c22b618c968a8119784a7dc07474603
parent1cf96ce269364e3c2b4ec2097f121ad42b336839
avformat/utils: Extend overflow check in dts wrap in compute_pkt_fields()

Fixes: signed integer overflow: -9223372032574480351 - 4294967296 cannot be represented in type 'long long'
Fixes: 30022/clusterfuzz-testcase-minimized-ffmpeg_dem_KUX_fuzzer-5568610275819520
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