shithub: freetype+ttf2subf

Download patch

ref: 4e1c6a12e5f285d57e66818177013cce7efbd7b0
parent: f631542dae1aaf9101135ed660cd3ff1d08ed93c
author: Alexei Podtelezhnikov <[email protected]>
date: Fri Apr 30 05:35:21 EDT 2021

* src/gzip/ftgzip.c (ft_gzip_alloc): Zero out memory again.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2021-04-30  Alexei Podtelezhnikov  <[email protected]>
+
+	* src/gzip/ftgzip.c (ft_gzip_alloc): Zero out memory again.
+
 2021-04-27  Alexei Podtelezhnikov  <[email protected]>
 
 	[lzw] Preserve decompression stack when relocating to heap.
--- 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;
   }