grub-core/lib/syslinux_parse.c: do not free array
say->msg is inline array in a structure and should not be freed. CID: 73610
This commit is contained in:
parent
343dad410e
commit
dbbac5a04c
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-11-30 Andrei Borzenkov <arvidjaar@gmail.com>
|
||||
|
||||
* grub-core/lib/syslinux_parse.c (free_menu): Do not free
|
||||
inline array (CID 73610).
|
||||
|
||||
2014-11-28 Andrei Borzenkov <arvidjaar@gmail.com>
|
||||
|
||||
* grub-core/io/lzopio.c (test_header): Fix double free (CID 73665)
|
||||
|
|
|
@ -1351,7 +1351,6 @@ free_menu (struct syslinux_menu *menu)
|
|||
for (say = menu->say; say ; say = nsay)
|
||||
{
|
||||
nsay = say->next;
|
||||
grub_free (say->msg);
|
||||
grub_free (say);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue