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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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 <ldo@xxxxxxxxxxxxxxxxxxx> 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
about it.
Fontconfig mailing list

Fontconfig mailing list

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux