Fix possible NULL dereference
As reported by Kenichi Ishibashi.
This commit is contained in:
parent
4b312fb288
commit
f8fa2b5cf6
|
@ -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…
Reference in New Issue