[HB] Fix fatal Sanitizer bug

This commit is contained in:
Behdad Esfahbod 2009-08-04 22:55:44 -04:00
parent 2870ac5e5d
commit 8cd6fa28d1
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ struct Sanitizer
retry:
_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);
if (sane) {