commit | f9ec6768f5449b1406a02d97910ad6764cdfb0bb | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Mon Dec 07 15:53:08 2015 -0800 |
committer | Jon Larimer <jlarimer@google.com> | Wed Dec 09 20:47:05 2015 +0000 |
tree | c5c31fa17546480749c45c107d006d4149af46b1 | |
parent | 04d23e6526745822df2e62d78160fdcb1bd0a2e6 [diff] |
CTS test for robust handling of invalid cmap A large nGroups value in a format 12 cmap table in an OpenType font can cause integer overflow. In that case, the font should be rejected and its Unicode coverage not included in the fallback chain. This test verifies that such invalid fonts are robustly rejected. Bug: 25645298 Change-Id: Ifbab3aa352074a05a5615de05c2f8f35fe2dc595 (cherry picked from commit 57c15f21bda788dbe8961fab46cb86236fae0a92)