diff options
author | Naveen Kumar P <naveenkumar.p@ittiam.com> | 2017-09-19 16:07:41 +0530 |
---|---|---|
committer | Dan Pasanen <dan.pasanen@gmail.com> | 2017-12-06 07:55:02 -0600 |
commit | 3254798254aa09426b4cceebb13aa0046e648119 (patch) | |
tree | f302dc21467c429dfaab3a18bdafdb32319774ae /decoder/ihevcd_decode.c | |
parent | db4aceac0551a10fe84922d2ec15861fcc0ca9fb (diff) | |
download | android_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