diff options
author | Stef Walter <stefw@collabora.co.uk> | 2011-05-24 18:36:25 +0200 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2011-05-24 18:36:25 +0200 |
commit | a01f4351e34fee946d1ffb81baa31a756e2851be (patch) | |
tree | 5a139cd855acd3187a0dc4cd0fb7054752ed55b5 /p11-kit | |
parent | e16a0a7183bd7c400ea3df12ad6ee1155a17634c (diff) |
Fix null pointer dereference.
Diffstat (limited to 'p11-kit')
-rw-r--r-- | p11-kit/p11-kit-lib.c | 2 |
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); } |