Whamcloud - gitweb
LU-7867 debugfs: fix check for out-of-bound xattr value 99/18999/5
authorAndreas Dilger <andreas.dilger@intel.com>
Fri, 18 Mar 2016 08:03:45 +0000 (02:03 -0600)
committerAndreas Dilger <andreas.dilger@intel.com>
Tue, 29 Mar 2016 16:10:15 +0000 (16:10 +0000)
commit595b51179eaafdc1c50ab8348cb83d9429aa2bfa
treec2f5eba09c27c56005a64f55e882a8574b8b1036
parente27e792b5a6f9392b931800b9dc6fcac09ae1e3a
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