shithub: lwext4

Download patch

ref: 754d2885b461161dee8d49eb0e0a50269ba634a0
parent: edb243921205671e8be5e93d9617ce7bf2a22e92
author: ngkaho1234 <[email protected]>
date: Thu Nov 5 08:10:16 EST 2015

FIX: item->in_inode is not initialized.

--- a/lwext4/ext4_xattr.c
+++ b/lwext4/ext4_xattr.c
@@ -204,6 +204,8 @@
 	    name_len == 4 &&
 	    !memcmp(name, "data", 4))
 		item->in_inode = true;
+	else
+		item->in_inode = false;
 
 	return item;
 }