[ot] Fix Extension type recurse to disallow recursing to another Extension
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 30 Nov 2017 00:08:11 +0000 (16:08 -0800)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 30 Nov 2017 00:08:11 +0000 (16:08 -0800)
commit16fba5b2158a0e093e6df32637eba5058942e299
treeb4d628fc12e8084e83de3718d145cb1b62fc26b0
parent7ab49de987b856312d7ad1d02639f7306aa0ad2f
[ot] Fix Extension type recurse to disallow recursing to another Extension

Particularly hazardous if the second layer mixes forward and backward lookups.

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4336
src/hb-ot-layout-gsub-table.hh
test/shaping/fonts/sha1sum/9d8a94a67932a3ab75a596fc8b5c6d0392ca9e49.ttf [new file with mode: 0644]
test/shaping/fonts/sha1sum/ef2511f215aa3ca847cbfffbf861793b42170875.ttf [new file with mode: 0644]
test/shaping/tests/fuzzed.tests