* grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_add_module):
Avoid next pointing to nowhere.
This commit is contained in:
parent
6c85b743f5
commit
5318fe9804
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2010-12-20 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_add_module):
|
||||||
|
Avoid next pointing to nowhere.
|
||||||
|
|
||||||
2010-12-19 Vladimir Serbinenko <phcoder@gmail.com>
|
2010-12-19 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/fs/affs.c (grub_affs_mount): Read data->bblock.rootblock
|
* grub-core/fs/affs.c (grub_affs_mount): Read data->bblock.rootblock
|
||||||
|
|
|
@ -641,6 +641,7 @@ grub_multiboot_add_module (grub_addr_t start, grub_size_t size,
|
||||||
return grub_errno;
|
return grub_errno;
|
||||||
newmod->start = start;
|
newmod->start = start;
|
||||||
newmod->size = size;
|
newmod->size = size;
|
||||||
|
newmod->next = 0;
|
||||||
|
|
||||||
for (i = 0; i < argc; i++)
|
for (i = 0; i < argc; i++)
|
||||||
len += grub_strlen (argv[i]) + 1;
|
len += grub_strlen (argv[i]) + 1;
|
||||||
|
|
Loading…
Reference in a new issue