summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-12-05 17:36:16 -0800
committerJeff Brown <jeffbrown@google.com>2011-12-05 20:33:50 -0800
commita03bdedbdf1022d1391f5f0a6ea507e2ebbb0e9a (patch)
treef1a4eccef8fd10c5f88e74bba9af76979d7c2d32 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent738ef87eacd3e54132d1bf661dd9329050fddd2f (diff)
Harfbuzz assumes the length of the item is at least 1.
If the length is zero, then it will clobber memory at index -1 into the log_clusters array. Explicitly handle the cases where the entire string or a single run might have a length of 0. Bug: 5705479 Change-Id: Ibbd3a4edcb7e1cad09c34091b42bb315776ea558
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions