commit | e1f364e5097008c845f1963f938b6e8adab5e4e6 | [log] [tgz] |
---|---|---|
author | Werner Lemberg <wl@gnu.org> | Thu Feb 25 20:00:07 2021 +0100 |
committer | Werner Lemberg <wl@gnu.org> | Thu Feb 25 20:00:07 2021 +0100 |
tree | 2aa748fa1dd1628f9de5f61adf815bdc9413cb8d | |
parent | df7fcafe6e048c098d8af2bd88d09f87785e4811 [diff] |
[woff2] Fix memory leak. Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28148 * src/sfnt/sfwoff2.c (woff2_open_font): Reject fonts that have multiple tables with the same tag. While not explicitly forbidden in the OpenType specification, it is implicitly forbidden by describing a binary search algorithm for tables that only works reliably if table tags are unique.