Fix return value of sanitize when subformat is not readable
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 9 Oct 2015 16:25:55 +0000 (12:25 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 9 Oct 2015 16:25:55 +0000 (12:25 -0400)
commitf396fbb000dc1c8acddbf6a16e193b328c5e551e
treedfe0e9186b4cdd9d9e2fa29fbcd06eebdfed84ef
parent77a1a2bc18e7b04d4e352a8777ccce345b2f8659
Fix return value of sanitize when subformat is not readable

This is a fix on top of the previous issue fixed in
c917965b9e6fe2b21ed6c51559673288fa3af4b7.

This was caught by "libFuzzer" testing.
src/hb-open-type-private.hh
src/hb-ot-layout-gpos-table.hh
src/hb-ot-layout-gsub-table.hh
src/hb-ot-layout-gsubgpos-private.hh