Fix possible NULL dereference

As reported by Kenichi Ishibashi.
pull/1/head
Behdad Esfahbod 13 years ago
parent 4b312fb288
commit f8fa2b5cf6
  1. 2
      src/hb-ot-layout-gsubgpos-private.hh

@ -92,7 +92,7 @@ struct hb_would_apply_context_t
glyphs (glyphs_), glyphs (glyphs_),
len (len_), len (len_),
zero_context (zero_context_), zero_context (zero_context_),
digest (*digest_), digest (digest_ ? *digest_ : hb_set_digest_t()),
debug_depth (0) {}; debug_depth (0) {};
}; };

Loading…
Cancel
Save