diff options
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | 2019-07-18 14:44:16 -0700 |
---|---|---|
committer | Ray Essick <essick@google.com> | 2019-08-05 12:01:35 -0700 |
commit | 406fb2aa0e31a365ad10c2ef32df365211fa4687 (patch) | |
tree | 0e2c6557be1a3a097b699907e3b56962f5cb21fb /decoder | |
parent | cf80d4f83c71897700542905e94613046b2458e0 (diff) | |
download | libhevc-406fb2aa0e31a365ad10c2ef32df365211fa4687.tar.gz |
common: Fix unintialized reads in intra pred sse functions
Bug: 137565646
Bug: 137228292
Test: poc in bug
Change-Id: I2830a30230cf566b17dca77a68136c9c4bd82215
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/ihevcd_iquant_itrans_recon_ctb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/ihevcd_iquant_itrans_recon_ctb.c b/decoder/ihevcd_iquant_itrans_recon_ctb.c index a7cd167..50f8dce 100644 --- a/decoder/ihevcd_iquant_itrans_recon_ctb.c +++ b/decoder/ihevcd_iquant_itrans_recon_ctb.c @@ -946,7 +946,7 @@ WORD32 ihevcd_iquant_itrans_recon_ctb(process_ctxt_t *ps_proc) /* While (MAX_TU_SIZE * 2 * 2) + 1 is the actaul size needed, au1_ref_sub_out size is kept as multiple of 8, so that SIMD functions can load 64 bits */ - UWORD8 au1_ref_sub_out[(MAX_TU_SIZE * 2 * 2) + 8]; + UWORD8 au1_ref_sub_out[(MAX_TU_SIZE * 2 * 2) + 8] = {0}; UWORD8 *pu1_top_left, *pu1_top, *pu1_left; WORD32 luma_pred_func_idx, chroma_pred_func_idx; |