summaryrefslogtreecommitdiff
path: root/p11-kit
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-05-24 18:36:25 +0200
committerStef Walter <stefw@collabora.co.uk>2011-05-24 18:36:25 +0200
commita01f4351e34fee946d1ffb81baa31a756e2851be (patch)
tree5a139cd855acd3187a0dc4cd0fb7054752ed55b5 /p11-kit
parente16a0a7183bd7c400ea3df12ad6ee1155a17634c (diff)
Fix null pointer dereference.
Diffstat (limited to 'p11-kit')
-rw-r--r--p11-kit/p11-kit-lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/p11-kit-lib.c b/p11-kit/p11-kit-lib.c
index 10bd83f..59cdd19 100644
--- a/p11-kit/p11-kit-lib.c
+++ b/p11-kit/p11-kit-lib.c
@@ -1058,7 +1058,7 @@ p11_kit_registered_option (CK_FUNCTION_LIST_PTR funcs, const char *field)
}
if (config) {
- option = hash_get (module->config, field);
+ option = hash_get (config, field);
if (option)
option = strdup (option);
}