[kern] Third try fix access violation in Format3

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11245
This commit is contained in:
Behdad Esfahbod 2018-11-03 15:14:57 -04:00
parent f074da8c2b
commit 8d98c51d13
1 changed files with 0 additions and 1 deletions

View File

@ -441,7 +441,6 @@ struct KernSubTableFormat3
inline bool sanitize (hb_sanitize_context_t *c) const inline bool sanitize (hb_sanitize_context_t *c) const
{ {
TRACE_SANITIZE (this); TRACE_SANITIZE (this);
return_trace (true); /* Disabled. See above. */
return_trace (c->check_struct (this) && return_trace (c->check_struct (this) &&
c->check_range (kernValueZ, c->check_range (kernValueZ,
kernValueCount * sizeof (FWORD) + kernValueCount * sizeof (FWORD) +