[OT] Fix Arabic shaper OOB access

https://bugzilla.mozilla.org/show_bug.cgi?id=782908
This commit is contained in:
Behdad Esfahbod 2012-08-16 11:35:50 -04:00
parent b161bfc4f6
commit bd08d5d126
1 changed files with 1 additions and 1 deletions

View File

@ -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 *