[HB] Fix fatal Sanitizer bug
This commit is contained in:
parent
2870ac5e5d
commit
8cd6fa28d1
|
@ -293,7 +293,7 @@ struct Sanitizer
|
||||||
retry:
|
retry:
|
||||||
_hb_sanitize_init (&context, blob);
|
_hb_sanitize_init (&context, blob);
|
||||||
|
|
||||||
Type *t = &CAST (Type, context.start, 0);
|
Type *t = &CAST (Type, *DECONST_CHARP(context.start), 0);
|
||||||
|
|
||||||
sane = t->sanitize (SANITIZE_ARG_INIT);
|
sane = t->sanitize (SANITIZE_ARG_INIT);
|
||||||
if (sane) {
|
if (sane) {
|
||||||
|
|
Loading…
Reference in New Issue