[kern] Really fix access violation in Format3
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11245
This commit is contained in:
parent
93ef20a83b
commit
f074da8c2b
|
@ -444,7 +444,7 @@ struct KernSubTableFormat3
|
||||||
return_trace (true); /* Disabled. See above. */
|
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 +
|
kernValueCount * sizeof (FWORD) +
|
||||||
glyphCount * 2 +
|
glyphCount * 2 +
|
||||||
leftClassCount * rightClassCount));
|
leftClassCount * rightClassCount));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue