[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 94815d6: * src/sfnt/sfwoff2 (woff2_open_font): Initia
From: |
Werner LEMBERG |
Subject: |
[freetype2] master 94815d6: * src/sfnt/sfwoff2 (woff2_open_font): Initialize `woff2.ttc_fonts'. |
Date: |
Mon, 30 Sep 2019 18:15:53 -0400 (EDT) |
branch: master
commit 94815d6efa3804da0b41466716e80620014327d7
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>
* src/sfnt/sfwoff2 (woff2_open_font): Initialize `woff2.ttc_fonts'.
Reported as
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=17804
---
ChangeLog | 8 ++++++++
src/sfnt/sfwoff2.c | 2 ++
2 files changed, 10 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 9dab663..cd71686 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2019-10-01 Werner Lemberg <address@hidden>
+
+ * src/sfnt/sfwoff2 (woff2_open_font): Initialize `woff2.ttc_fonts'.
+
+ Reported as
+
+ https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=17804
+
2019-09-30 Werner Lemberg <address@hidden>
* src/sfnt/sfwoff2.c (reconstruct_font): Fix memory leak.
diff --git a/src/sfnt/sfwoff2.c b/src/sfnt/sfwoff2.c
index 065023b..3f5b00e 100644
--- a/src/sfnt/sfwoff2.c
+++ b/src/sfnt/sfwoff2.c
@@ -1816,6 +1816,8 @@
FT_TRACE2(( "woff2_open_font: WOFF2 Header is valid.\n" ));
+ woff2.ttc_fonts = NULL;
+
/* Read table directory. */
if ( FT_NEW_ARRAY( tables, woff2.num_tables ) ||
FT_NEW_ARRAY( indices, woff2.num_tables ) )
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 94815d6: * src/sfnt/sfwoff2 (woff2_open_font): Initialize `woff2.ttc_fonts'.,
Werner LEMBERG <=