diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-04-25 20:45:10 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-10-09 22:02:21 +0200 |
commit | 0233d6c82965c4d95a08436cb2bbd45b7f8f6b1b (patch) | |
tree | 11f6749872ec2af76c6e410c53b36f902e225294 /libavcodec/mpegutils.h | |
parent | 115621acb26e58f953e24bda5cc15edff87d0d87 (diff) | |
download | ffmpeg-0233d6c82965c4d95a08436cb2bbd45b7f8f6b1b.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/mpegutils.h')
0 files changed, 0 insertions, 0 deletions