[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Possible NULL pointer dereference in hol_entry_help
From: |
Andrei Borzenkov |
Subject: |
Possible NULL pointer dereference in hol_entry_help |
Date: |
Sun, 10 Jan 2016 12:49:37 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
Found by Coverity scan for GRUB.
hol_entry_help dereferences state parameter without checking for NULL:
if (first_long_opt || uparams.dup_args)
arg (real, "=%s", "[=%s]", state->root_argp->argp_domain,
stream);
It is called in several places where "state" is explicitly checked for
being NULL before calling hol_entry_help.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Possible NULL pointer dereference in hol_entry_help,
Andrei Borzenkov <=