From 711b593e4b589fbd726a4962ad492fc4e416355d Mon Sep 17 00:00:00 2001 From: Philip Race Date: Fri, 7 Jun 2019 09:15:28 +0200 Subject: [PATCH] * src/base/ftinit.c (FT_Set_Default_Properties): Fix crash. Terminate loop at end of environment. --- ChangeLog | 6 ++++++ src/base/ftinit.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index ebd2438ce..e9132ff8c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2019-06-07 Philip Race + + * src/base/ftinit.c (FT_Set_Default_Properties): Fix crash. + + Terminate loop at end of environment. + 2019-05-31 Alexei Podtelezhnikov Solidify VC2005 builds. diff --git a/src/base/ftinit.c b/src/base/ftinit.c index 9d524effa..c73cd78b8 100644 --- a/src/base/ftinit.c +++ b/src/base/ftinit.c @@ -176,6 +176,9 @@ module_name, property_name, property_value ); + + if ( !*p ) + break; } }