The variable 'complementaly' used to be allocated with calloc, which zeroed it out during the allocation process. When vodz changed it to be allocated on the stack, he forgot to explicitly zero it, leaving its value filled with whatever used to be sitting on the stack. It would garbage values, dep
No binary (build failed)
—
(log yok)
| @@ -88,6 +88,8 @@ bb_getopt_ulflags (int argc, char **argv, const char *applet_opts, ...) | |
| t_complementaly *on_off; | |
| va_list p; | |
| + | memset(&complementaly, 0, sizeof(complementaly)); |
| + | |
| va_start (p, applet_opts); | |
| /* skip GNU extension */ | |