]> git.sesse.net Git - ffmpeg/commit
avformat/smacker: Check for too small pts_inc
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 17 Jan 2021 21:14:03 +0000 (22:14 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 2 Feb 2021 12:12:12 +0000 (13:12 +0100)
commitf54aab94a363489edcda492637d6e7409cc5446b
treebc82f405a57afd0df8b20717deaec2c6b5f1c4b6
parent92b194919199e6ea978ff6e120e9f9034b2bd299
avformat/smacker: Check for too small pts_inc

Fixes: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself
Fixes: 26910/clusterfuzz-testcase-minimized-ffmpeg_dem_SMACKER_fuzzer-6705429132476416
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/smacker.c