]> git.sesse.net Git - ffmpeg/commit
avformat/samidec: Sanity check pts
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 31 Jan 2021 16:00:38 +0000 (17:00 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 10 Feb 2021 11:28:30 +0000 (12:28 +0100)
commit2014b0135293c41d261757bfa1aaba51653bab8e
treedf714a150389430d29edd0c67c410be51537b099
parent2a2082a41bca9dbb22c45288972f2da309443cf8
avformat/samidec: Sanity check pts

Fixes: signed integer overflow: 0 - -9223372036854775808 cannot be represented in type 'long'
Fixes: 29743/clusterfuzz-testcase-minimized-ffmpeg_dem_SAMI_fuzzer-5499256859394048
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/samidec.c