| Index: third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh
|
| diff --git a/third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh b/third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh
|
| index d6db00566da51862d45aef733c9d5d9765fbf496..691334c99af2fb908d56817af994508fc3bb1da2 100644
|
| --- a/third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh
|
| +++ b/third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh
|
| @@ -971,7 +971,7 @@ static inline bool apply_lookup (hb_apply_context_t *c,
|
| match_positions[j] += delta;
|
| }
|
|
|
| - for (unsigned int i = 0; i < lookupCount; i++)
|
| + for (unsigned int i = 0; i < lookupCount && !buffer->in_error; i++)
|
| {
|
| unsigned int idx = lookupRecord[i].sequenceIndex;
|
| if (idx >= count)
|
| @@ -2277,7 +2277,7 @@ struct GSUBGPOS
|
| }
|
|
|
| protected:
|
| - FixedVersion version; /* Version of the GSUB/GPOS table--initially set
|
| + FixedVersion<>version; /* Version of the GSUB/GPOS table--initially set
|
| * to 0x00010000u */
|
| OffsetTo<ScriptList>
|
| scriptList; /* ScriptList table */
|
|
|