commit | 7e6c7898a039a600ba48fbbc4221aed7dfd75ff3 | [log] [tgz] |
---|---|---|
author | Neil Fuller <nfuller@google.com> | Fri May 27 18:32:23 2016 +0100 |
committer | Neil Fuller <nfuller@google.com> | Wed Jun 01 11:17:04 2016 +0100 |
tree | 3585d1dacfdf4b8693e722a122c534fbde851e86 | |
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