src/hb-aat-layout-kerx-table.hh | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-)
New commits: commit 11703afce6cebbb4c5e7cdea59ca59a1787608b8 Author: Behdad Esfahbod <[email protected]> Date: Mon Oct 15 21:16:58 2018 -0700 [kerx] Fix Format6 sanitize Fixes https://oss-fuzz.com/v2/testcase-detail/5650286710882304 diff --git a/src/hb-aat-layout-kerx-table.hh b/src/hb-aat-layout-kerx-table.hh index aa803977..83077878 100644 --- a/src/hb-aat-layout-kerx-table.hh +++ b/src/hb-aat-layout-kerx-table.hh @@ -513,17 +513,18 @@ struct KerxSubTableFormat6 inline bool sanitize (hb_sanitize_context_t *c) const { TRACE_SANITIZE (this); + printf ("%d\n", c->check_struct (this)); return_trace (likely (c->check_struct (this) && - is_long () ? - ( - u.l.rowIndexTable.sanitize (c, this) && - u.l.columnIndexTable.sanitize (c, this) && - c->check_range (this, u.l.array) - ) : ( - u.s.rowIndexTable.sanitize (c, this) && - u.s.columnIndexTable.sanitize (c, this) && - c->check_range (this, u.s.array) - ))); + (is_long () ? + ( + u.l.rowIndexTable.sanitize (c, this) && + u.l.columnIndexTable.sanitize (c, this) && + c->check_range (this, u.l.array) + ) : ( + u.s.rowIndexTable.sanitize (c, this) && + u.s.columnIndexTable.sanitize (c, this) && + c->check_range (this, u.s.array) + )))); } struct accelerator_t _______________________________________________ HarfBuzz mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/harfbuzz
