diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-12-05 20:37:44 -0800 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2011-12-05 20:40:03 -0800 |
commit | f98c2a67fe051cc92f3205bfc0267ddac90d3a71 (patch) | |
tree | fd6a5f4020d564ec18817272514082e9eff0efbb /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 9a856f4ee7b49f735e31b57a09bee2f033ce20a5 (diff) |
Fix memory corruption issues in TextLayoutCache. (DO NOT MERGE)
Ensure log_clusters array is big enough.
Bug: 5714171
Explicitly handle the cases where the entire string or a single
run might have a length of 0.
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.
Bug: 5705479
Change-Id: If28a9866221081f69973c1d12d7fe0cf8db2edd0
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions