[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1174939554.5713.2.camel@localhost.localdomain>
Date: Mon, 26 Mar 2007 16:05:54 -0400
From: Mimi Zohar <zohar@...ux.vnet.ibm.com>
To: linux-kernel@...r.kernel.org
Cc: safford@...son.ibm.com, serue@...ux.vnet.ibm.com,
kjhall@...ux.vnet.ibm.com, zohar@...ibm.com, akpm@...l.org
Subject: [Patch -mm] integrity: integrity_dummy_verify_metadata
The following patch addresses the missing initialization values bug.
signed-off-by: Mimi Zohar <zohar@...ibm.com>
---
Index: linux-2.6.21-rc4-mm1/security/integrity_dummy.c
===================================================================
--- linux-2.6.21-rc4-mm1.orig/security/integrity_dummy.c
+++ linux-2.6.21-rc4-mm1/security/integrity_dummy.c
@@ -19,15 +19,15 @@
#include <linux/xattr.h>
/*
- * Return the extended attribute
+ * Return the extended attribute, if requested.
*/
static int dummy_verify_metadata(struct dentry *dentry, char *xattr_name,
char **xattr_value, int *xattr_value_len,
int *status)
{
- char *value;
- int size;
- int error;
+ char *value = NULL;
+ int size = 0;
+ int error = 0;
if (!status)
return -EINVAL;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists