freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] Announcing FreeType 2.10.1 - regression in ftgzip.c


From: Lorcán Mc Donagh
Subject: [ft-devel] Announcing FreeType 2.10.1 - regression in ftgzip.c
Date: Tue, 2 Jul 2019 17:02:17 +0200

Hi all,

I'm pretty certain I found a bug related to commit #6a92b1fadde26477a9179cbea988b3e04bd2decc.
In ftgzip.c line 749 this code
err = inflateInit2( &stream, MAX_WBITS );
was replaced 
with err = inflateInit2( &stream, MAX_WBITS|32 );

This makes the function call fail as there is this check for the window size in inflate.c: if (w < 8 || w > 15),
with w being  MAX_WBITS|32 = 15|32 = 47 !

I believe this should be reverted as it broke all WOFF font loading in my code.

Best,
Lorcan

reply via email to

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