aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2021-04-25 20:45:10 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2021-10-06 13:54:16 +0200
commit8b8e5ccdc22c7c68bdfc5d31bbf91898929a620f (patch)
tree4c07acdade8f1d11d89d07c56230efd9802ccea1 /libavcodec/utils.c
parent7da58f8fe7886424360fdb267d7191bd18e83924 (diff)
downloadffmpeg-8b8e5ccdc22c7c68bdfc5d31bbf91898929a620f.tar.gz
avformat/realtextdec: Check the pts difference before using it for the duration computation
Fixes: signed integer overflow: 5404200000 - -9223372031709351616 cannot be represented in type 'long' Fixes: 29102/clusterfuzz-testcase-minimized-ffmpeg_dem_REALTEXT_fuzzer-6737340551790592 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 fe12aa689003db9b07a6e1b837031dcc57a71435) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/utils.c')
0 files changed, 0 insertions, 0 deletions