Changeset 8d21eccd in ffmpeg

Timestamp:
Feb 8, 2021, 12:27:22 PM (4 years ago)
Author:
Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Branches:
master
Children:
178a0d6
Parents:
a773455c
git-author:
Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (02/05/21 11:23:49)
git-committer:
Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (02/08/21 12:27:22)
Message:

avcodec/g722enc: Validate parameters before using them

In case trellis is outside of 0..23, an invalid shift and/or a signed
integer overflow happens; furthermore, it can lead to the request to
allocate nonsense amounts of memory. So validate first.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

(No files)

Note: See TracChangeset for help on using the changeset viewer.