Commit 6bf86660 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
Change-Id: I144d92d114bab94f5a207c3e3d5f5b55c97e9838
parent e03b33ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment