Skip to content

[sfnt] Guard access when requesting child table pointer

Dominik Röttsches requested to merge drott/freetype:ossFuzzChildTable into master

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=51816

  • src/sfnt/ttcolr.c (tt_face_get_colorline_stops): Tighten pointer bounds checks. (read_paint): Tighten pointer bounds checks. (get_child_table_pointer): Check whether incoming pointer p lies within the COLR table.

Merge request reports