diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-11-21 22:59:55 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2023-04-07 23:40:37 +0200 |
commit | 3f4ec2d6afb9dbb39fec107541eacf0957c4d015 (patch) | |
tree | acc9504ba573b5c3441bb51409f955829c6a64f0 /libavformat/voc.c | |
parent | 0891a36dd8535d8fc34ae4adeac6866c9009a82b (diff) | |
download | ffmpeg-3f4ec2d6afb9dbb39fec107541eacf0957c4d015.tar.gz |
avcodec/mlpdec: Check max matrix instead of max channel in noise check
This is a regression since: adaa06581c5444c94eef72d61b8166f096e2687a
Before this, max_channel and max_matrix_channel where compared for equality
Fixes: out of array access
Fixes: 53340/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEHD_fuzzer-514959011885875
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit aa79560de5e9596ada0345e5d12aa00dbeddaaa6)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/voc.c')
0 files changed, 0 insertions, 0 deletions