diff options
author | Dale Curtis <dalecurtis@chromium.org> | 2020-01-28 16:49:14 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-04-23 21:29:01 +0200 |
commit | efaa2a05c0c68dc2404e7d977dc17a86e042701d (patch) | |
tree | 0875a49a75ac7397f27faa30c758425f5923ad43 /libavformat/url.c | |
parent | 661446f9d678d5212c7c10326b37f2f7ac7a371d (diff) | |
download | ffmpeg-efaa2a05c0c68dc2404e7d977dc17a86e042701d.tar.gz |
avformat/utils: Fix undefined behavior in ff_configure_buffers_for_index()
When e2_pts == INT64_MIN and e1_pts >= 0 the calculation of
e2_pts - e1_pts will overflow an int64_t.
Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit f15007afa90a3eb3639848d9702c1cc3ac3e896b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/url.c')
0 files changed, 0 insertions, 0 deletions