[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [freetype2] master 3b03682 1/2: [cid] Signedness revisions.
From: |
Alexei Podtelezhnikov |
Subject: |
Re: [freetype2] master 3b03682 1/2: [cid] Signedness revisions. |
Date: |
Mon, 11 Oct 2021 08:32:51 -0400 |
> > - 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?