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

Reported as

  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=42773
fix-sdf-squared-distances
Werner Lemberg 3 years ago
parent b5c2172f59
commit bf9b1ef905
  1. 2
      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 ) )

Loading…
Cancel
Save