commit | c77e054070fe276555d64f0298b1eab4a47a1d4e | [log] [tgz] |
---|---|---|
author | Naveen Kumar P <naveenkumar.p@ittiam.com> | Tue Sep 19 16:07:41 2017 +0530 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Fri Nov 03 19:48:19 2017 +0000 |
tree | f302dc21467c429dfaab3a18bdafdb32319774ae | |
parent | facff33d1499574a2c17f47ff8a8408a18e7bc16 [diff] |
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)