>> > -    if ( (FT_ULong)num_dicts > stream->size / 100 )
>> > +    max_dicts = (FT_UInt)( stream->size / 100 );
>>
>> Hmm.  `stream->size / 100` could be greater than FT_UInt (most
>> probably in a buggy font), no?
> 
> A 400 Gb font might get smaller num_dicts than specified.  Is that a
> problem?

Well, I dislike the possibility of uncontrolled overflow by
principle, even if it might be harmless.


   Werner

Reply via email to