* grub-core/lib/arg.c (grub_arg_show_help): Correctly handle
parameters overflow.
This commit is contained in:
parent
61c874c51c
commit
41e9c57d89
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-09-20 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/lib/arg.c (grub_arg_show_help): Correctly handle
|
||||
parameters overflow.
|
||||
|
||||
2010-09-20 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* .bzrignore: Add grub-core/gnulib/sys, widthspec.bin, and
|
||||
|
|
|
@ -144,6 +144,9 @@ grub_arg_show_help (grub_extcmd_t cmd)
|
|||
}
|
||||
}
|
||||
|
||||
if (spacing < 0)
|
||||
spacing = 3;
|
||||
|
||||
while (spacing--)
|
||||
grub_xputs (" ");
|
||||
|
||||
|
|
Loading…
Reference in a new issue