commit | d82f8a9a3869448e6d7d4b3fc962e34e33a1ba0e | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Wed Nov 12 15:05:16 2014 -0800 |
committer | Raph Levien <raph@google.com> | Wed Nov 12 15:05:16 2014 -0800 |
tree | 238640394315317eb9f289fc1e29edce39ff4cf5 | |
parent | 705c9c131a6df977a2e9430cacb84788ef0cecbf [diff] |
Check bounds on CharSequence drawText methods The canvas drawText() methods on CharSequence arguments didn't check whether the start and end offsets were within bounds, which triggered native crashes. This patch checks the bounds and throws IndexOutOfBoundsException when invalid. Bug: 18282500 Change-Id: I1935bf21f828b960c817b40ebce6affd4ce8bb99