• B
    Disallow null-enabled offsets to unsized structures... · 10642b3f
    Behdad Esfahbod 提交于
    ...like UnsizedArrayOf<>.
    
    This fixes a class of crasher bugs, mostly with color and AAT tables.  We
    cannot use nullable offsets to varsized data that does not declare min_size,
    because it's nost safe to use our fixed-size null pool for types that have
    their size external.  So, use non_null'able offsets for these.
    
    A further enhancement would be to make use of min_size in Null<> itself.
    Will try that after.
    10642b3f
hb-aat-layout-trak-table.hh 6.4 KB