Re: [ft-devel] cff_get_name_index crash

2007-02-07 Thread Werner LEMBERG
While trying to track down an evince crash (see http://bugzilla.gnome.org/show_bug.cgi?id=403791) I appear to have found an error in freetype, and I've got a patch to fix it. Applied, thanks. Werner ___ Freetype-devel mailing list

Re: [ft-devel] cff_get_name_index crash

2007-02-07 Thread Sean McBride
On 2007-02-06 17:28, Tom Parker said: The strcmp is done without checking that the return value was sane, and strcmp(), eh? That made me curious I searched the freetype code for strcpy() and found it is used (by way of ft_strcpy()) quite a lot. strcpy() is evil. Someone might want to

Re: [ft-devel] cff_get_name_index crash

2007-02-07 Thread Tom Parker
Sean McBride wrote: ft_strcpy, ft_strncpy - strlcpy ft_strcat - strlcat Neither are currently included in glibc (and some effort with google seems to indicate this is likely to stay this way for the foreseeable future), and so if freetype wants to use those it would have to maintain it's