>> > Only so much you can do to protect against it. You only capture one
>> particular
>> > case.
>>
>>  I wondered if I can feed it the same bitmap twice.
>
> The cost-benefit analysis is in order. Is it worth checking a great number of
> valid uses to capture the invalid one?

Sure, I totally get that and the check was just in addition; my main question 
was if that information should find its way into the docs to clear out any 
issues upfront ... design by contract + such.

> Whether your program crashes or gives an error, you have to fix the bug in
> your program (unless there is a security implication, which changes the cost
> balance).

Sure, totally agreed.


_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to