Fix sanitize or Context Rule
Fixes https://github.com/harfbuzz/harfbuzz/issues/1110
This commit is contained in:
parent
20a11a824d
commit
5dfd6e0762
@ -1267,7 +1267,7 @@ struct Rule
|
||||
return_trace (inputCount.sanitize (c) &&
|
||||
lookupCount.sanitize (c) &&
|
||||
c->check_range (inputZ,
|
||||
inputZ[0].static_size * inputCount +
|
||||
inputZ[0].static_size * (inputCount ? inputCount - 1 : 0) +
|
||||
LookupRecord::static_size * lookupCount));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user