Messages in this thread Patch in this message | | | Subject | [Patch -mm] integrity: integrity_dummy_verify_metadata | From | Mimi Zohar <> | Date | Mon, 26 Mar 2007 16:05:54 -0400 |
| |
The following patch addresses the missing initialization values bug.
signed-off-by: Mimi Zohar <zohar@us.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |