projects
/
platform
/
upstream
/
gcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6199230
)
[daemon] Fix uninitialized PKCS#11 function pointer.
author
Stef Walter
<stef@memberwebs.com>
Sun, 11 Jul 2010 23:30:30 +0000
(23:30 +0000)
committer
Stef Walter
<stef@memberwebs.com>
Sun, 11 Jul 2010 23:30:30 +0000
(23:30 +0000)
gp11/gp11-module.c
patch
|
blob
|
history
diff --git
a/gp11/gp11-module.c
b/gp11/gp11-module.c
index
7255724
..
4ead3f8
100644
(file)
--- a/
gp11/gp11-module.c
+++ b/
gp11/gp11-module.c
@@
-771,6
+771,7
@@
gp11_module_initialize (const gchar *path, gpointer reserved, GError **err)
GP11Module*
gp11_module_new (CK_FUNCTION_LIST_PTR funcs)
{
+ g_return_val_if_fail (funcs, NULL);
return g_object_new (GP11_TYPE_MODULE, "functions", funcs, NULL);
}