From f56f4c617c4f7f671a8f2c8840f65e244c435b6b Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Mon, 2 Sep 2013 18:52:52 -0400 Subject: [PATCH] Fix the use of a too small buffer --- lib/common/shapes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/shapes.c b/lib/common/shapes.c index 76b2d9e3c..bb5ea0f7b 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -495,7 +495,7 @@ static void Mcircle_hack(GVJ_t * job, node_t * n) */ void round_corners(GVJ_t * job, pointf * AF, int sides, int style, int filled) { - pointf *B, C[4], *D, p0, p1; + pointf *B, C[5], *D, p0, p1; double rbconst, d, dx, dy, t; int i, seg, mode, shape; pointf* pts; -- 2.40.0