diff options
| author | Neil Fuller <nfuller@google.com> | 2016-05-27 18:32:23 +0100 |
|---|---|---|
| committer | Neil Fuller <nfuller@google.com> | 2016-06-01 11:17:04 +0100 |
| commit | 7e6c7898a039a600ba48fbbc4221aed7dfd75ff3 (patch) | |
| tree | 3585d1dacfdf4b8693e722a122c534fbde851e86 /include/ScopedJavaUnicodeString.h | |
| parent | 773ec38f906ff034cdd10d11c2720119f7ce9326 (diff) | |
Improve getChars() bounds checking and add a test
The dstEnd calculation could previously overflow and a negative
dstBegin wasn't being caught in one specific case.
Bug: 28998511
(cherry picked from commit 6bf866608fbbd6aad37ba0daa288778a6f1fad41)
Change-Id: I9e16f2d2eda4272e6e704d27a10c7acf192349c7
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions
