mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-12 06:21:39 +00:00
Allocate correct size
This commit is contained in:
parent
1975ecdc59
commit
f45e1a9fb7
@ -167,7 +167,7 @@ read_terminal_list (void)
|
||||
return;
|
||||
}
|
||||
|
||||
filename = grub_malloc (grub_strlen (prefix) + sizeof ("/crypto.lst"));
|
||||
filename = grub_malloc (grub_strlen (prefix) + sizeof ("/terminal.lst"));
|
||||
if (!filename)
|
||||
{
|
||||
grub_errno = GRUB_ERR_NONE;
|
||||
|
Loading…
Reference in New Issue
Block a user