The following patch addresses the missing initialization values bug.

signed-off-by: Mimi Zohar <[EMAIL PROTECTED]>
---

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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to