diff options
-rw-r--r-- | libshouldbeinlibc/argp-parse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libshouldbeinlibc/argp-parse.c b/libshouldbeinlibc/argp-parse.c index b967590f..230eb596 100644 --- a/libshouldbeinlibc/argp-parse.c +++ b/libshouldbeinlibc/argp-parse.c @@ -492,7 +492,9 @@ argp_parse (const struct argp *argp, int argc, char **argv, unsigned flags, long_end->name = NULL; groups = alloca ((num_groups + 1) * sizeof (struct group)); + child_inputs = alloca (num_child_inputs * sizeof (void *)); + bzero (child_inputs, num_child_inputs * sizeof (void *)); if (state.argp) egroup = convert_options (state.argp, 0, 0, groups); |