<div>Hi Behdad,</div><div><br></div><div>The current revision can crash when you reach arabic_fallback_shape()<br></div><div><br></div><div>In arabic_fallback_shape():</div><div>...</div><div>OT::hb_apply_context_t c (font, buffer, 1/*global mask*/, NULL);<br>

</div><div>...</div><div><br></div><div>The last argument is NULL, but the constructor of hb_apply_context_t de-references the last argument.</div><div><br></div><div>Looks like the last argument (hb_set_digest_t) doesn't matter in this function. Patch to fix the crash is attached.</div>

<div><br></div><div>Thanks,</div><div><br></div>