commit | 25a5b287f220802728cd3312692f368c45d22862 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Fri May 10 16:01:39 2019 -0700 |
committer | Behdad Esfahbod <behdad@behdad.org> | Fri May 10 16:03:20 2019 -0700 |
tree | 72e4f1ba662b2eee385e71c077d40d26101d5f29 | |
parent | 9c0c3589f31106d1898f8922cc9a2e18cb054989 [diff] [blame] |
Fix sanitize fail of extension sublookups Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=960331
diff --git a/src/hb-sanitize.hh b/src/hb-sanitize.hh index 5ecd2d2..5f5b4bd 100644 --- a/src/hb-sanitize.hh +++ b/src/hb-sanitize.hh
@@ -211,6 +211,8 @@ this->start = this->end = nullptr; } + unsigned get_edit_count () { return edit_count; } + bool check_range (const void *base, unsigned int len) const {