Hi Rob, list,

in __toy_init()__ function, the __toys__ variable is not reset
properly.
memset(&toys, 0, offsetof(struct toy_context, rebound));

reason: the __toys__ is set to __0__ only until __rebound__
is found. Due to the restructuring of __toy_context__, it is failing.

This causes an issue when __xexec()__ is called and has toys.optflags or
others are set.
May be need to put rebound at the bottom of struct again.

regards,
Ashwini
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to