diff options
author | Stef Walter <stef@thewalter.net> | 2014-08-08 17:40:40 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2014-08-08 18:44:51 +0200 |
commit | 3748527ed4deb980a2aa0a74893ccb4384951015 (patch) | |
tree | 93e626f21d69c9cd78f169845d022d2582b295de | |
parent | f1d563400c9747d6c470cba7abfa9a31d92349d3 (diff) |
p11-kit: Remove use after free in debug output code path
-rw-r--r-- | p11-kit/modules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/modules.c b/p11-kit/modules.c index 9eaff40..ce0fb96 100644 --- a/p11-kit/modules.c +++ b/p11-kit/modules.c @@ -378,7 +378,7 @@ load_module_from_file_inlock (const char *name, /* If same module was loaded previously, just take over config */ if (prev != NULL) { if (!name || prev->name || prev->config) - p11_debug ("duplicate module %s, using previous", path); + p11_debug ("duplicate module %s, using previous", name); free_module_unlocked (mod); mod = prev; |