Whamcloud - gitweb
debugfs: add better error checking when printing extended attributes
authorTheodore Ts'o <tytso@mit.edu>
Fri, 29 Aug 2014 18:20:21 +0000 (14:20 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 29 Aug 2014 18:20:21 +0000 (14:20 -0400)
commit8a546777119c9c02f37fd1d8b0f2df8a142a2245
treeda9492608c0cd533bf11458788101b87df9108e0
parent6a3741ad293031447b95b88431eafa77401a8987
debugfs: add better error checking when printing extended attributes

Check to make sure the length of the name and value fields in the
extended attribute don't result in overrun the bounds of the inode.

Addresses-Coverity-Bug: #709517

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debugfs/debugfs.c