diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-22 20:36:21 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-11 15:15:53 +0100 |
commit | 8c1899a71bc92387afa38f8438cfd05a33ffb48f (patch) | |
tree | 0d1d315de7e1986428c66d390b75c3fdc0466e94 /libavformat/data_uri.c | |
parent | ecd4490dd06cccb15bc1a547d15bdbfbd853929c (diff) | |
download | ffmpeg-8c1899a71bc92387afa38f8438cfd05a33ffb48f.tar.gz |
avformat/movenc: Limit ism_lookahead to a sane value
There can only be a maximum of 255 entries in a tfrf tag, so using
more makes no sense; moreover, several size computations can overflow
in this case. Fix this by limiting it to 255.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
(cherry picked from commit 1cf3c59b58f4380d5ce166a67331777891d06eef)
Diffstat (limited to 'libavformat/data_uri.c')
0 files changed, 0 insertions, 0 deletions