Commit 7e6c7898 authored by Neil Fuller's avatar Neil Fuller
Browse files

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 6bf86660)

Change-Id: I9e16f2d2eda4272e6e704d27a10c7acf192349c7
parent 773ec38f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment