freetype-devel
[Top][All Lists]
Advanced

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

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


From: Werner LEMBERG
Subject: [ft-devel] Fw: Announcing FreeType 2.10.1 - regression in ftgzip.c
Date: Tue, 02 Jul 2019 20:32:58 +0200 (CEST)

Ouch!  Folks, please confirm the issue and advise how to fix it best.


    Werner

--- Begin Message --- Subject: [ft-devel] Announcing FreeType 2.10.1 - regression in ftgzip.c Date: Tue, 2 Jul 2019 15:35:43 +0200
Hi Werner,

I tried to subscribe to the mailling list but https://lists.nongnu.org is currently unreachable.

I've 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 fixed as it broke all WOFF font loading in my code.

Best,
Lorcan

Lorcán Mc Donagh

lmdsp audio plug-ins and algorithm development
https://www.lmdsp.com
16, rue Malar
75007 Paris
Tel: +33 6 64 26 21 44

SIRE51283486200017

--- End Message ---

reply via email to

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