summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2014-11-12 15:05:16 -0800
committerRaph Levien <raph@google.com>2014-11-12 15:05:16 -0800
commitd82f8a9a3869448e6d7d4b3fc962e34e33a1ba0e (patch)
tree238640394315317eb9f289fc1e29edce39ff4cf5 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent705c9c131a6df977a2e9430cacb84788ef0cecbf (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions