commit | 79b2fa62ca7eb5a875778d3a2ecae63350083ba3 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <[email protected]> | Fri Oct 26 21:21:18 2018 -0700 |
committer | Behdad Esfahbod <[email protected]> | Fri Oct 26 21:22:26 2018 -0700 |
tree | 12a961e48725e3280a26cec5d9f9824526d111cd | |
parent | 39bd07aed5fe6ccddde53206bafceec32d56dcc1 [diff] [blame] |
[indic] Fix infinite loop Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=863044
diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index f145a34..918e0d7 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc
@@ -789,7 +789,7 @@ * We could use buffer->sort() for this, if there was no special * reordering of pre-base stuff happening later... */ - if (indic_plan->is_old_spec || end - base > 127) + if (indic_plan->is_old_spec || end - start > 127) buffer->merge_clusters (base, end); else {