shithub: freetype+ttf2subf

Download patch

ref: 711b593e4b589fbd726a4962ad492fc4e416355d
parent: c949ab0757a2514cd3a37b3e1e8390fd662a025b
author: Philip Race <philip.race@oracle.com>
date: Fri Jun 7 05:15:28 EDT 2019

* src/base/ftinit.c (FT_Set_Default_Properties): Fix crash.

Terminate loop at end of environment.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-06-07  Philip Race  <philip.race@oracle.com>
+
+	* src/base/ftinit.c (FT_Set_Default_Properties): Fix crash.
+
+	Terminate loop at end of environment.
+
 2019-05-31  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
 	Solidify VC2005 builds.
--- a/src/base/ftinit.c
+++ b/src/base/ftinit.c
@@ -176,6 +176,9 @@
                               module_name,
                               property_name,
                               property_value );
+
+      if ( !*p )
+        break;
     }
   }