diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-09-05 23:06:21 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-09-24 17:53:39 +0200 |
commit | 72db18e929cf3310cfc2a6eb4170a0d390e5a105 (patch) | |
tree | e90beadfab56edb07ea597468e7fa6afe07d8abc /libavcodec/rangecoder.c | |
parent | c7ccbf40edb81d40727cca3a7ffd1848d3ed880a (diff) | |
download | ffmpeg-72db18e929cf3310cfc2a6eb4170a0d390e5a105.tar.gz |
avformat/utils: Do not assume duration is non negative in compute_pkt_fields()
Several subtitle demuxers set negative durations
Fixes: signed integer overflow: 9223372036854775807 - -1 cannot be represented in type 'long'
Fixes: 16925/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5766519790764032
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/rangecoder.c')
0 files changed, 0 insertions, 0 deletions