提交 8cd6fa28 编写于 作者: B Behdad Esfahbod

[HB] Fix fatal Sanitizer bug

上级 2870ac5e
...@@ -293,7 +293,7 @@ struct Sanitizer ...@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册