mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-28 10:10:29 +00:00
* grub-core/commands/menuentry.c (append_menu_entry): Don't rely on
args ending with NULL.
This commit is contained in:
1 parent
788f1f3a85
commit
faca6bec3b
2 files changed
+7
-2
No files matched your search
@@ -1,4 +1,9 @@
|
|||||||
2010-09-11 Vladimir Serbinenko <phcoder@gmail.com>
|
2010-09-12 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/commands/menuentry.c (append_menu_entry): Don't rely on
|
||||||
|
args ending with NULL.
|
||||||
|
|
||||||
|
2010-09-12 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/lib/xzembed/xz_dec_stream.c (xz_dec_reset): Preserve context
|
* grub-core/lib/xzembed/xz_dec_stream.c (xz_dec_reset): Preserve context
|
||||||
pointer.
|
pointer.
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ append_menu_entry (int argc, const char **args, char **classes,
|
|||||||
if (! menu_args)
|
if (! menu_args)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
for (i = 0; args[i]; i++)
|
for (i = 0; i < argc; i++)
|
||||||
{
|
{
|
||||||
menu_args[i] = grub_strdup (args[i]);
|
menu_args[i] = grub_strdup (args[i]);
|
||||||
if (! menu_args[i])
|
if (! menu_args[i])
|
||||||
|
|||||||
Reference in new issue
Block a user