* 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
|
@ -1,3 +1,8 @@
|
|||
2011-04-10 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* grub-core/gnulib/argp-parse.c (__argp_input): Don't crash if pstate
|
||||
is NULL.
|
||||
|
||||
2011-04-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Dynamically count the number of lines for the lower banner.
|
||||
|
|
|
@ -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…
Reference in a new issue