[FFmpeg-devel] [PATCH 3/3] avformat/mlvdec: Only store dimensions after having validated them

Paul B Mahol onemda at gmail.com
Wed Aug 19 21:15:06 EEST 2020


On 8/10/20, Andreas Rheinhardt <andreas.rheinhardt at gmail.com> wrote:
> 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 at gmail.com>
> ---
>  libavformat/mlvdec.c | 20 +++++++++++---------
>  1 file changed, 11 insertions(+), 9 deletions(-)
>

LGTM


More information about the ffmpeg-devel mailing list