Re: Did You Know That FT_Done_Face Can Return An Error?

Behdad Esfahbod <[email protected]> Thu, 10 May 2018 14:05:13 -0700
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <CAF63+7VHxqV9oNcc9qaKrxrMGpZwGmgCC6mbjutL7AJUN+W1_w@mail.gmail.com>
Hi Lawrence,

What can I say without offending people....

I fully agree with you. Libraries should not crash **on bad data**. On
programmer error and invalid memory state, crashing is safest for avoiding
exploits and discovering and fixing bugs.



On Sat, May 5, 2018 at 4:48 PM, Lawrence D'Oliveiro <[email protected]
> wrote:

> I notice that Fontconfig ignores possible error returns from
> FT_Done_Face and FT_Done_FreeType (cf src/fcdir.c, src/fcfreetype.c).
>
> Would you say this was wise? There seems to be a difference of opinion
> on the FreeType list
> <http://lists.nongnu.org/archive/html/freetype/2018-05/threads.html>
> about it.
> _______________________________________________
> Fontconfig mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/fontconfig
>



-- 
behdad
http://behdad.org/

_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig