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

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

 



> 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
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/fontconfig




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

  Powered by Linux