From 9d23952438e67db3c9fb3fce6ddeab76ff2af6e4 Mon Sep 17 00:00:00 2001 From: discomfitor Date: Mon, 12 Dec 2011 19:59:25 +0000 Subject: [PATCH] fix a pair of buffer overflows from r65619 git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@66121 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_calc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/edje_calc.c b/src/lib/edje_calc.c index f81f5fd..208a56b 100644 --- a/src/lib/edje_calc.c +++ b/src/lib/edje_calc.c @@ -2545,11 +2545,11 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta } else if (p1->persp_on) { - memcpy(&p3->map.persp, &p1->map.persp, sizeof (p1->map.light)); + memcpy(&p3->map.persp, &p1->map.persp, sizeof (p1->map.persp)); } else if (p2->persp_on) { - memcpy(&p3->map.persp, &p2->map.persp, sizeof (p2->map.light)); + memcpy(&p3->map.persp, &p2->map.persp, sizeof (p2->map.persp)); } } -- 2.7.4