[ot-font] Fix hmtx wrong table length check
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 15 Oct 2015 15:47:22 +0000 (12:47 -0300)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 15 Oct 2015 15:54:28 +0000 (12:54 -0300)
commit63ef0b41dc48d6112d1918c1b1de9de8ea90adb5
tree9e757d1b11ce326ce843a7da58d2ae42bf2b4844
parent613e630617074eb9b62b794cc37c9b42a7fb079b
[ot-font] Fix hmtx wrong table length check

Discovered by libFuzzer.  Ouch!

https://github.com/behdad/harfbuzz/issues/139#issuecomment-148289957
src/hb-ot-font.cc