[libsecret] libsecret: Fix uninitialized access in _secret_attributes_validate()



commit 0d116b7177a5d432fe2b04990d63c91435237e76
Author: Stef Walter <stefw gnome org>
Date:   Wed Mar 5 11:54:11 2014 +0100

    libsecret: Fix uninitialized access in _secret_attributes_validate()

 libsecret/secret-attributes.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libsecret/secret-attributes.c b/libsecret/secret-attributes.c
index 80dd28d..c8b0ee4 100644
--- a/libsecret/secret-attributes.c
+++ b/libsecret/secret-attributes.c
@@ -200,7 +200,7 @@ _secret_attributes_validate (const SecretSchema *schema,
 {
        const SecretSchemaAttribute *attribute;
        GHashTableIter iter;
-       gboolean any;
+       gboolean any = FALSE;
        gchar *key;
        gchar *value;
        gchar *end;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]