commit | 336503dfd73d0370b3c90f12582d86d832ddedc1 | [log] [tgz] |
---|---|---|
author | Werner Lemberg <wl@gnu.org> | Sun Jul 16 07:36:01 2023 +0200 |
committer | Werner Lemberg <wl@gnu.org> | Sun Jul 16 07:40:32 2023 +0200 |
tree | 83ed05d7235a86cabf09dc685673ba7d256c23bb | |
parent | 3c92e7bfc21289a53a748469f6c420bdd6a8941d [diff] |
[woff2] Avoid allocation bomb. This is a fix for commit 85167dbd5, reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=60615 * src/sfnt/sfwoff2.c (MAX_SFNT_SIZE): New macro. (woff2_open_font): Use it to limit the maximum size of an uncompressed WOFF2 font.