[subset] limit the max codepoint value to the unicode limit.
authorGarret Rieger <grieger@google.com>
Wed, 1 Aug 2018 00:44:02 +0000 (17:44 -0700)
committerGarret Rieger <grieger@google.com>
Wed, 1 Aug 2018 01:40:38 +0000 (18:40 -0700)
commit2bdd903c69eb3a34f3d3bf5e4f4c94cd66337117
tree3d509f96a1ecae1f17fb108af7260eb07ac5668e
parent7278d9df3093a87f99cec9b4cea38bd688c5d020
[subset] limit the max codepoint value to the unicode limit.
When collecting all codepoints in the cmap avoid using large amount of memory for fonts that declare coverage over all 32 bit integers.
src/hb-ot-cmap-table.hh
test/api/fonts/clusterfuzz-testcase-minimized-hb-subset-get-codepoints-fuzzer-5973295416475648 [new file with mode: 0644]