diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-10 02:33:19 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-27 07:20:56 +0100 |
commit | 2617956abd5ac8339cb2f3fb4ab7b64f83743ebd (patch) | |
tree | 05b428eeb2da2f58f7e61ef8ec750c4f0d5ef950 /libavformat/mux.c | |
parent | 45c83744fd3b813730be6f9c09341be77e7518ce (diff) | |
download | ffmpeg-2617956abd5ac8339cb2f3fb4ab7b64f83743ebd.tar.gz |
avformat/mlvdec: Only store dimensions after having validated them
Otherwise it might happen that invalid dimensions are used when reading
a video packet; this might lead to undefined overflow.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit d661cfc184bcf0bb13bb11fdba6f5d4493675f85)
Diffstat (limited to 'libavformat/mux.c')
0 files changed, 0 insertions, 0 deletions