freetype-devel
[Top][All Lists]
Advanced

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

Re: [freetype2] master 3b03682 1/2: [cid] Signedness revisions.


From: Werner LEMBERG
Subject: Re: [freetype2] master 3b03682 1/2: [cid] Signedness revisions.
Date: Mon, 11 Oct 2021 06:18:19 +0000 (UTC)

> @@ -272,18 +267,18 @@
>       * need a `dup X' at the very beginning and a `put' at the end, so a
>       * rough guess using 100 bytes as the minimum is justified.
>       */
> -    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?


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]