ref: bf9b1ef90564987856a42461147435f143e9e7cd
parent: b5c2172f59f42934b76e4ac607f2c7ef4f049bb4
author: Werner Lemberg <[email protected]>
date: Fri Jan 7 05:25:52 EST 2022
* src/sfnt/ttload.c (check_table_dir): Initialize `table`. Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=42773
--- 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 ) )