diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-08-04 22:55:44 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-08-04 22:55:44 -0400 |
commit | a990ba0d2b8599ee3eab8bea6ac96aec99b1ee1d (patch) | |
tree | eefdb8343663113fd0f708202b5f2e50e93c35f3 | |
parent | 7762880223a110e41cb1f1c256564f6809747fb8 (diff) | |
download | pango-a990ba0d2b8599ee3eab8bea6ac96aec99b1ee1d.tar.gz |
[HB] Fix fatal Sanitizer bug
-rw-r--r-- | pango/opentype/hb-open-type-private.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/opentype/hb-open-type-private.hh b/pango/opentype/hb-open-type-private.hh index a51b91e7..d11f3510 100644 --- a/pango/opentype/hb-open-type-private.hh +++ b/pango/opentype/hb-open-type-private.hh @@ -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) { |