shithub: freetype+ttf2subf

Download patch

ref: 998c7c0f1ccabcc4cd995bd6ee8fa398b73b25cd
parent: 2d9578488518846491189736a336176c75c9732a
author: Alexei Podtelezhnikov <apodtele@gmail.com>
date: Thu May 6 18:51:37 EDT 2021

* src/cid/cidload.c (cid_read_subrs): Tweak allocation macro.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2021-05-06  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
+	* src/cid/cidload.c (cid_read_subrs): Tweak allocation macro.
+
+2021-05-06  Alexei Podtelezhnikov  <apodtele@gmail.com>
+
 	* src/base/ftrfork.c (FT_Raccess_Get_DataOffsets): Tweak allocation.
 
 2021-05-05  Alexei Podtelezhnikov  <apodtele@gmail.com>
--- a/src/cid/cidload.c
+++ b/src/cid/cidload.c
@@ -552,7 +552,7 @@
           goto Fail;
         }
 
-        if ( FT_RENEW_ARRAY( offsets, max_offsets, new_max ) )
+        if ( FT_QRENEW_ARRAY( offsets, max_offsets, new_max ) )
           goto Fail;
 
         max_offsets = new_max;