Whamcloud - gitweb
LU-7867 debugfs: fix check for out-of-bound xattr value
authorAndreas Dilger <andreas.dilger@intel.com>
Fri, 18 Mar 2016 08:03:45 +0000 (02:03 -0600)
committerAndreas Dilger <andreas.dilger@intel.com>
Tue, 10 May 2016 05:12:35 +0000 (23:12 -0600)
commit5ea47a9efd5faf9de59be693dc6fa6a8fc6529b7
tree6cb1754d5f7943325be616c2ec4072ddfb96b1bb
parent985113d249c6cba261c92c2f283b91cdeb09b040
LU-7867 debugfs: fix check for out-of-bound xattr value

Since upsream commit 8a546777119c9c0, the validity check for in-inode
xattrs in internal_dump_inode_extra() has been incorrectly checking
the value size.  The value can go right to the end of the inode.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: Id20861df7c973d76a433aecfcfd125ca32ce117b
Reviewed-on: http://review.whamcloud.com/18999
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Jenkins
Reviewed-by: Matt Ezell <ezellma@ornl.gov>
debugfs/debugfs.c