diff --git a/ChangeLog b/ChangeLog index 5f61c1cd7..3cd3bf835 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2021-04-30 Alexei Podtelezhnikov + + * src/gzip/ftgzip.c (ft_gzip_alloc): Zero out memory again. + 2021-04-27 Alexei Podtelezhnikov [lzw] Preserve decompression stack when relocating to heap. diff --git a/src/gzip/ftgzip.c b/src/gzip/ftgzip.c index 064b8f5de..0dc0a6177 100644 --- a/src/gzip/ftgzip.c +++ b/src/gzip/ftgzip.c @@ -130,7 +130,8 @@ FT_Pointer p = NULL; - (void)FT_QALLOC( p, sz ); + /* allocate and zero out */ + (void)FT_ALLOC( p, sz ); return p; }