* grub-core/gnulib/argp-parse.c (__argp_input): Don't crash if pstate
is NULL.
This commit is contained in:
parent
8b8a81fa6a
commit
088cdb65eb
2 changed files with 6 additions and 1 deletions
|
@ -935,7 +935,7 @@ weak_alias (__argp_parse, argp_parse)
|
|||
void *
|
||||
__argp_input (const struct argp *argp, const struct argp_state *state)
|
||||
{
|
||||
if (state)
|
||||
if (state && state->pstate)
|
||||
{
|
||||
struct group *group;
|
||||
struct parser *parser = state->pstate;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue