mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/normal/dyncmd.c (read_command_list): Don't access freed
space.
This commit is contained in:
1 parent
7da036bbcb
commit
3006e9810f
2 files changed
+6
-1
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
2012-06-13 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/normal/dyncmd.c (read_command_list): Don't access freed
|
||||||
|
space.
|
||||||
|
|
||||||
2012-06-11 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-06-11 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Remove non-functional EFI grub_get_rtc. Put a better fatal message
|
Remove non-functional EFI grub_get_rtc. Put a better fatal message
|
||||||
|
|||||||
@@ -122,8 +122,8 @@ read_command_list (const char *prefix)
|
|||||||
last->next = ptr->next;
|
last->next = ptr->next;
|
||||||
else
|
else
|
||||||
grub_command_list = ptr->next;
|
grub_command_list = ptr->next;
|
||||||
grub_free (ptr);
|
|
||||||
grub_free (ptr->data); /* extcmd struct */
|
grub_free (ptr->data); /* extcmd struct */
|
||||||
|
grub_free (ptr);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
last = ptr;
|
last = ptr;
|
||||||
|
|||||||
Reference in new issue
Block a user