forked from enlightenment/efl
fix a pair of buffer overflows from r65619
SVN revision: 66121
This commit is contained in:
parent
8b22f52e80
commit
b8f17dd903
|
@ -2545,11 +2545,11 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
|
||||||
}
|
}
|
||||||
else if (p1->persp_on)
|
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)
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue