commit | a2a36541f0b3603335e74da0a8d2b6a9d5bcec3f | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Thu Nov 09 17:12:17 2017 -0800 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Feb 08 04:11:31 2018 +0000 |
tree | d9946b710191c442838b5e41a8efce79b13af225 | |
parent | 47ebfaa2196aaf4fbeeec34f1a1c5be415cf041b [diff] |
Check for null-terminator in ResStringPool::string8At All other stringAt methods check for null termination. Be consistent so that upper levels don't end up with huge corrupt strings. Bug: 62537081 Test: none Change-Id: I17bdfb0c1e34507b66c6cad651bbdb12c5d4c417 (cherry picked from commit 3d35a0ea307693a97583a61973e729a5e7db2687) (cherry picked from commit 97f8cb01149b35b1832c7f9efe85ff19edf1083e) (cherry picked from commit 5ec65ae909a85d13d03c030be357c8c14a50d306)