mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/lib/arg.c (grub_arg_show_help): Fix a NULL pointer
dereference. Reported by: qwertial.
This commit is contained in:
1 parent
3c0003c3c3
commit
e0aacf2433
2 files changed
+7
-1
No files matched your search
@@ -1,3 +1,9 @@
|
|||||||
|
2013-04-29 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/lib/arg.c (grub_arg_show_help): Fix a NULL pointer
|
||||||
|
dereference.
|
||||||
|
Reported by: qwertial.
|
||||||
|
|
||||||
2013-04-28 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-04-28 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* docs/grub.texi: Add a comment about usefullness of nativedisk.
|
* docs/grub.texi: Add a comment about usefullness of nativedisk.
|
||||||
|
|||||||
+1
-1
@@ -158,7 +158,7 @@ grub_arg_show_help (grub_extcmd_t cmd)
|
|||||||
show_usage (cmd);
|
show_usage (cmd);
|
||||||
grub_printf ("%s\n\n", _(cmd->cmd->description));
|
grub_printf ("%s\n\n", _(cmd->cmd->description));
|
||||||
|
|
||||||
for (opt = cmd->options; opt->doc; opt++)
|
for (opt = cmd->options; opt && opt->doc; opt++)
|
||||||
switch (opt->shortarg)
|
switch (opt->shortarg)
|
||||||
{
|
{
|
||||||
case 'h':
|
case 'h':
|
||||||
|
|||||||
Reference in new issue
Block a user