HomePhabricator

eo: set idx on exit to 1 not to 0

Authored by Marcel Hollerbach <mail@marcel-hollerbach.de> on Aug 10 2020, 1:43 AM.

Description

eo: set idx on exit to 1 not to 0

if this is set to 0 the next iteration in the upper frame event would
decrement the 0 again leading to a overflow making the iteration and
callback array overflow.

Long story short: set ifx to 1 to prevent overflow, test added.

fixes T8787

Differential Revision: https://phab.enlightenment.org/D12101

Marcel Hollerbach <mail@marcel-hollerbach.de> committed rEFL812e9f9f09e4: eo: set idx on exit to 1 not to 0 (authored by Marcel Hollerbach <mail@marcel-hollerbach.de>).Aug 12 2020, 2:18 AM