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): Correctly handle
parameters overflow.
This commit is contained in:
1 parent
61c874c51c
commit
41e9c57d89
2 files changed
+8
No files matched your search
@@ -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 (" ");
|
||||
|
||||
|
||||
Reference in new issue
Block a user