commit | 8cd6fa28d1b77100491519b8dedb2e113508bf59 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Tue Aug 04 22:55:44 2009 -0400 |
committer | Behdad Esfahbod <behdad@behdad.org> | Mon Nov 02 14:40:30 2009 -0500 |
tree | c84a2c69e7562a092149a2d4999592ec1763e138 | |
parent | 2870ac5e5d5d87646a4b273a9805fb3fcf280f97 [diff] |
[HB] Fix fatal Sanitizer bug
diff --git a/src/hb-open-type-private.hh b/src/hb-open-type-private.hh index a51b91e..d11f351 100644 --- a/src/hb-open-type-private.hh +++ b/src/hb-open-type-private.hh
@@ -293,7 +293,7 @@ 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) {