From bf9b1ef90564987856a42461147435f143e9e7cd Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Fri, 7 Jan 2022 10:25:52 +0100 Subject: * src/sfnt/ttload.c (check_table_dir): Initialize `table`. Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=42773 --- src/sfnt/ttload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sfnt/ttload.c b/src/sfnt/ttload.c index 51416d80b..184e43ec2 100644 --- a/src/sfnt/ttload.c +++ b/src/sfnt/ttload.c @@ -200,7 +200,7 @@ for ( nn = 0; nn < sfnt->num_tables; nn++ ) { - TT_TableRec table; + TT_TableRec table = { 0, 0, 0, 0 }; if ( FT_STREAM_READ_FIELDS( table_dir_entry_fields, &table ) ) -- cgit v1.2.1