From e484d36b2b124ee64c07d2fb735b85f09174e357 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Wed, 21 Oct 2015 20:48:27 +0200 Subject: [PATCH] [base] Pacify compiler (#46266). * src/base/ftoutln.c (FT_Outline_EmboldenXY): Initialize `in' and `anchor'. --- ChangeLog | 7 +++++++ src/base/ftoutln.c | 3 +++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index e4ebfdbbe..79700aae1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2015-10-21 Werner Lemberg + + [base] Pacify compiler (#46266). + + * src/base/ftoutln.c (FT_Outline_EmboldenXY): Initialize `in' and + `anchor'. + 2015-10-21 Werner Lemberg [type42] Fix heap buffer overflow (#46269). diff --git a/src/base/ftoutln.c b/src/base/ftoutln.c index 34cf74eaa..201ceabc6 100644 --- a/src/base/ftoutln.c +++ b/src/base/ftoutln.c @@ -942,6 +942,9 @@ l_in = 0; last = outline->contours[c]; + /* pacify compiler */ + in.x = in.y = anchor.x = anchor.y = 0; + /* Counter j cycles though the points; counter i advances only */ /* when points are moved; anchor k marks the first moved point. */ for ( i = last, j = first, k = -1;