ref: e484d36b2b124ee64c07d2fb735b85f09174e357
parent: 87fefc594eeea8064766b397c93d685e261e2989
author: Werner Lemberg <[email protected]>
date: Wed Oct 21 16:48:27 EDT 2015
[base] Pacify compiler (#46266). * src/base/ftoutln.c (FT_Outline_EmboldenXY): Initialize `in' and `anchor'.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2015-10-21 Werner Lemberg <[email protected]>
+ [base] Pacify compiler (#46266).
+
+ * src/base/ftoutln.c (FT_Outline_EmboldenXY): Initialize `in' and
+ `anchor'.
+
+2015-10-21 Werner Lemberg <[email protected]>
+
[type42] Fix heap buffer overflow (#46269).
* src/type42/t42parse.c (t42_parse_sfnts): Fix off-by-one error in
--- 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;