shithub: freetype+ttf2subf

Download patch

ref: 7eb9a9dbbee9c8513402c388772152b053f25289
parent: 81b81feb628a549c65ab7401c4d5dacb27a77827
author: Alexei Podtelezhnikov <[email protected]>
date: Fri Jan 14 09:40:11 EST 2022

* src/pshinter/pshglob.c (psh_globals_new): Avoid zeroing.

This large allocation is followed by careful initialization. Whatever
is missed should be initialized manually.

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/pshinter/pshglob.c
+++ b/src/pshinter/pshglob.c
@@ -646,11 +646,11 @@
                    T1_Private*   priv,
                    PSH_Globals  *aglobals )
   {
-    PSH_Globals  globals = NULL;
+    PSH_Globals  globals;
     FT_Error     error;
 
 
-    if ( !FT_NEW( globals ) )
+    if ( !FT_QNEW( globals ) )
     {
       FT_UInt    count;
       FT_Short*  read;