[gnome-keyring] test-import: Initialize error with NULL to fix segfault
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring] test-import: Initialize error with NULL to fix segfault
- Date: Mon, 28 Sep 2015 13:46:58 +0000 (UTC)
commit c4957ebe3d50965373200be9940bf192cabe806c
Author: Dmitry Shachnev <mitya57 ubuntu com>
Date: Sun Sep 6 12:17:00 2015 +0300
test-import: Initialize error with NULL to fix segfault
https://bugzilla.gnome.org/show_bug.cgi?id=731802
pkcs11/gnome2-store/test-import.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pkcs11/gnome2-store/test-import.c b/pkcs11/gnome2-store/test-import.c
index da0476f..31c44a6 100644
--- a/pkcs11/gnome2-store/test-import.c
+++ b/pkcs11/gnome2-store/test-import.c
@@ -132,6 +132,7 @@ test_pkcs12_import (Test *test,
gsize length;
GList *l;
+ error = NULL;
g_file_get_contents (SRCDIR "/pkcs11/gnome2-store/fixtures/personal.p12", &contents, &length, &error);
g_assert_no_error (error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]