From bd08d5d126aa878d1dbf7bfd4b1a764c170cd9ad Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 16 Aug 2012 11:35:50 -0400 Subject: [PATCH] [OT] Fix Arabic shaper OOB access https://bugzilla.mozilla.org/show_bug.cgi?id=782908 --- src/hb-ot-shape-complex-arabic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-shape-complex-arabic.cc b/src/hb-ot-shape-complex-arabic.cc index e1a2791c5..3e61e697f 100644 --- a/src/hb-ot-shape-complex-arabic.cc +++ b/src/hb-ot-shape-complex-arabic.cc @@ -202,7 +202,7 @@ struct arabic_shape_plan_t ASSERT_POD (); bool do_fallback; - hb_mask_t mask_array[ARABIC_NUM_FEATURES]; + hb_mask_t mask_array[ARABIC_NUM_FEATURES + 1]; }; static void *