aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/tests/sha512.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-05 12:23:49 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-27 07:20:59 +0100
commita86fd1c7d58369d56a016c313b2472a2920795a2 (patch)
tree2b53309a0771f8f9b6101f37c2d2d29b9c4c203e /libavutil/tests/sha512.c
parenta8bd30a48ed90bc5fae279f794c1b674f61183f4 (diff)
downloadffmpeg-a86fd1c7d58369d56a016c313b2472a2920795a2.tar.gz
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> (cherry picked from commit 8d21eccd267acfcde3d35bbbf6621d6c3282e1ea)
Diffstat (limited to 'libavutil/tests/sha512.c')
0 files changed, 0 insertions, 0 deletions