projects
/
grub.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto: Fix use after free.
[grub.git]
/
grub-core
/
normal
/
crypto.c
diff --git
a/grub-core/normal/crypto.c
b/grub-core/normal/crypto.c
index
2bfd67c
..
e6d345f
100644
(file)
--- a/
grub-core/normal/crypto.c
+++ b/
grub-core/normal/crypto.c
@@
-147,8
+147,8
@@
read_crypto_list (const char *prefix)
if (! cur->modname)
{
grub_errno = GRUB_ERR_NONE;
- grub_free (cur);
grub_free (cur->name);
+ grub_free (cur);
continue;
}
cur->next = crypto_specs;