commit | a03bdedbdf1022d1391f5f0a6ea507e2ebbb0e9a | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Mon Dec 05 17:36:16 2011 -0800 |
committer | Jeff Brown <jeffbrown@google.com> | Mon Dec 05 20:33:50 2011 -0800 |
tree | f1a4eccef8fd10c5f88e74bba9af76979d7c2d32 | |
parent | 738ef87eacd3e54132d1bf661dd9329050fddd2f [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