[Fontconfig] Did You Know That FT_Done_Face Can Return An Error?
Werner LEMBERG
wl at gnu.org
Fri May 11 04:32:16 UTC 2018
> 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.
Well, the stdc version of `free' *does* crash if you try to improperly
deallocate memory blocks. And it returns an error code on programmer
error (i.e., an invalid `FT_Face' handle).
Werner
More information about the Fontconfig
mailing list