diff --git a/src/hb-ot-glyf-table.hh b/src/hb-ot-glyf-table.hh index 3eb2b56d6..92d3288e5 100644 --- a/src/hb-ot-glyf-table.hh +++ b/src/hb-ot-glyf-table.hh @@ -471,7 +471,6 @@ struct glyf unsigned int num_instructions = StructAtOffset (glyph, 0); glyph += 2 + num_instructions; - if (unlikely (glyph + 2 >= glyph_end)) return Glyph (); unsigned int coord_bytes = 0; unsigned int coords_with_flags = 0;