diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-04-25 20:45:10 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-09 13:54:52 +0200 |
commit | c7678193cf111d6128d8ca88b7b8be646f442b17 (patch) | |
tree | 96a356145a6490f5fd6bf1e4d26486e65dbb4c57 /libavutil/bprint.c | |
parent | 14b04b9fd6e1d35b1d04d67b09e7e05365e52651 (diff) | |
download | ffmpeg-c7678193cf111d6128d8ca88b7b8be646f442b17.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 'libavutil/bprint.c')
0 files changed, 0 insertions, 0 deletions