projects
/
grub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
284afab
)
crypto: Fix use after free.
author
AppChecker
<appchecker>
Sun, 9 Jul 2017 19:57:35 +0000
(21:57 +0200)
committer
Vladimir Serbinenko
<phcoder@gmail.com>
Sun, 9 Jul 2017 19:57:35 +0000
(21:57 +0200)
Reported by: AppChecker
Transformed to patch by: Satish Govindarajan
grub-core/normal/crypto.c
patch
|
blob
|
history
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;