* src/type1/t1afm.c (t1_get_index): Restore `strlen` call.

This reverts commit 8ed6d97446
and fixes
   https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62246
smooth_malloc
Alexei Podtelezhnikov 1 year ago
parent 446720a29e
commit 17db21f3fc
  1. 4
      src/type1/t1afm.c

@ -69,8 +69,8 @@
if ( gname && gname[0] == name[0] &&
ft_strncmp( gname, name, len ) == 0 &&
gname[len] == 0 )
ft_strlen( gname ) == len &&
ft_strncmp( gname, name, len ) == 0 )
return n;
}

Loading…
Cancel
Save