summaryrefslogtreecommitdiffstats
path: root/decoder/ihevcd_decode.c
diff options
context:
space:
mode:
authorNaveen Kumar P <naveenkumar.p@ittiam.com>2017-09-19 16:07:41 +0530
committerDan Pasanen <dan.pasanen@gmail.com>2017-12-06 07:55:02 -0600
commit3254798254aa09426b4cceebb13aa0046e648119 (patch)
treef302dc21467c429dfaab3a18bdafdb32319774ae /decoder/ihevcd_decode.c
parentdb4aceac0551a10fe84922d2ec15861fcc0ca9fb (diff)
downloadandroid_external_libhevc-3254798254aa09426b4cceebb13aa0046e648119.tar.gz
android_external_libhevc-3254798254aa09426b4cceebb13aa0046e648119.tar.bz2
android_external_libhevc-3254798254aa09426b4cceebb13aa0046e648119.zip
Alloc extra bytes for bits buf for parse optimzation
Without this extra allocation, if a nal fills entire bits buffer, there will be out of bound memory read access. Bug: 65719872 Test: ran poc before/after on ASAN of master Change-Id: I1c36821505bdc4fe6c23f30a02ab2fb0fb657946 (cherry picked from commit 4cf597a518436abf964b020bb97f97e490f80065)
Diffstat (limited to 'decoder/ihevcd_decode.c')
0 files changed, 0 insertions, 0 deletions