* src/sfnt/ttload.c (check_table_dir): Initialize `table`.

Reported as

  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=42773
This commit is contained in:
Werner Lemberg 2022-01-07 10:25:52 +01:00
parent b5c2172f59
commit bf9b1ef905
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) )