[kerx] Fix Format6 sanitize
Fixes https://oss-fuzz.com/v2/testcase-detail/5650286710882304
This commit is contained in:
parent
4c27da7638
commit
11703afce6
|
@ -513,8 +513,9 @@ struct KerxSubTableFormat6
|
||||||
inline bool sanitize (hb_sanitize_context_t *c) const
|
inline bool sanitize (hb_sanitize_context_t *c) const
|
||||||
{
|
{
|
||||||
TRACE_SANITIZE (this);
|
TRACE_SANITIZE (this);
|
||||||
|
printf ("%d\n", c->check_struct (this));
|
||||||
return_trace (likely (c->check_struct (this) &&
|
return_trace (likely (c->check_struct (this) &&
|
||||||
is_long () ?
|
(is_long () ?
|
||||||
(
|
(
|
||||||
u.l.rowIndexTable.sanitize (c, this) &&
|
u.l.rowIndexTable.sanitize (c, this) &&
|
||||||
u.l.columnIndexTable.sanitize (c, this) &&
|
u.l.columnIndexTable.sanitize (c, this) &&
|
||||||
|
@ -523,7 +524,7 @@ struct KerxSubTableFormat6
|
||||||
u.s.rowIndexTable.sanitize (c, this) &&
|
u.s.rowIndexTable.sanitize (c, this) &&
|
||||||
u.s.columnIndexTable.sanitize (c, this) &&
|
u.s.columnIndexTable.sanitize (c, this) &&
|
||||||
c->check_range (this, u.s.array)
|
c->check_range (this, u.s.array)
|
||||||
)));
|
))));
|
||||||
}
|
}
|
||||||
|
|
||||||
struct accelerator_t
|
struct accelerator_t
|
||||||
|
|
Loading…
Reference in New Issue