From b88f59d8353d65a75a3d250992f6b7fee1a61757 Mon Sep 17 00:00:00 2001 From: Harish Mahendrakar Date: Fri, 18 Dec 2015 09:58:28 +0530 Subject: [PATCH] Decoder: Padded gau1_ih264d_top_left_mb_part_indx_mod to avoid an out of bound read Change-Id: Ie8761de856ed8c7d08f3da61631c1bef446448e6 --- decoder/ih264d_tables.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/decoder/ih264d_tables.c b/decoder/ih264d_tables.c index d49de14..c45525a 100644 --- a/decoder/ih264d_tables.c +++ b/decoder/ih264d_tables.c @@ -855,7 +855,8 @@ const UWORD8 gau1_ih264d_top_left_mb_part_indx_mod[] = { 0, 0 /* Junk */, /* 16x16 */ 0, 8, /* 16x8 */ 0, 2, /* 8x16 */ - 0, 2, 8, 10 /* 8x8 */ + 0, 2, 8, 10 /* 8x8 */, + 0 /* One extra entry is read at the end of loop, but not used */ }; /*!