* src/type1/t1afm.c (t1_get_index): Restore strlen
call.
This reverts commit 8ed6d97446f2f3e5523da62eefbbf32ef7c1290e and fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62246
This commit is contained in:
parent
446720a29e
commit
17db21f3fc
@ -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…
Reference in New Issue
Block a user