summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-02-11 20:50:55 +0100
committerStef Walter <stefw@gnome.org>2013-02-11 20:51:41 +0100
commit04781672277a537551c369ae71ecdc8410e31dc3 (patch)
treee62202368ed7f127ffb4fe3717b15b0fe16de43d /common
parent077fd91bed34bb6226e0a43a26f9e546372db54a (diff)
Fix dereference of varargs in p11_attrs_build()
https://bugs.freedesktop.org/show_bug.cgi?id=60473
Diffstat (limited to 'common')
-rw-r--r--common/attrs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/attrs.c b/common/attrs.c
index ab1bc59..f9d947e 100644
--- a/common/attrs.c
+++ b/common/attrs.c
@@ -158,7 +158,7 @@ p11_attrs_build (CK_ATTRIBUTE *attrs,
va_end (va);
va_start (va, attrs);
- attrs = attrs_build (attrs, count, true, vararg_generator, va);
+ attrs = attrs_build (attrs, count, true, vararg_generator, &va);
va_end (va);
return attrs;