[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Mon Sep 3 17:19:56 PDT 2012


 src/hb-ot-layout-gsubgpos-private.hh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f8fa2b5cf67b02d74514dec7885d03de73ec7349
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Mon Sep 3 20:19:46 2012 -0400

    Fix possible NULL dereference
    
    As reported by Kenichi Ishibashi.

diff --git a/src/hb-ot-layout-gsubgpos-private.hh b/src/hb-ot-layout-gsubgpos-private.hh
index 00bc563..40d5c57 100644
--- a/src/hb-ot-layout-gsubgpos-private.hh
+++ b/src/hb-ot-layout-gsubgpos-private.hh
@@ -92,7 +92,7 @@ struct hb_would_apply_context_t
 			      glyphs (glyphs_),
 			      len (len_),
 			      zero_context (zero_context_),
-			      digest (*digest_),
+			      digest (digest_ ? *digest_ : hb_set_digest_t()),
 			      debug_depth (0) {};
 };
 



More information about the HarfBuzz mailing list