diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-04-25 20:45:10 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-11 21:23:49 +0200 |
commit | 090e2d16809e3b52fbc7d1e4a2d1c568f4d1c263 (patch) | |
tree | 6506ffa28319e2169417977a0fa05a5f0b5a8fd0 /libavformat/rtpenc_vc2hq.c | |
parent | 0602cf0ce3d9d3629bd9dca9756c9f8ca5d8c8b4 (diff) | |
download | ffmpeg-090e2d16809e3b52fbc7d1e4a2d1c568f4d1c263.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 'libavformat/rtpenc_vc2hq.c')
0 files changed, 0 insertions, 0 deletions