提交 5a19acb1 编写于 作者: L Laurent Aimar 提交者: Justin Ruggles

Fix out of bound reads in the QDM2 decoder.

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
Signed-off-by: NJustin Ruggles <justin.ruggles@gmail.com>
上级 291d74a4
......@@ -1355,6 +1355,8 @@ static void qdm2_fft_decode_tones (QDM2Context *q, int duration, GetBitContext *
return;
local_int_14 = (offset >> local_int_8);
if (local_int_14 >= FF_ARRAY_ELEMS(fft_level_index_table))
return;
if (q->nb_channels > 1) {
channel = get_bits1(gb);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册