]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
debugfs: fix printing of xattrs with ea_in_inode values
authorTheodore Ts'o <tytso@mit.edu>
Tue, 26 Mar 2019 13:36:53 +0000 (09:36 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 26 Mar 2019 13:36:53 +0000 (09:36 -0400)
commitcecc2bc78b39ddcd34a819a4d7e7cd30897958cb
treec5e05878a1c7636dae68b9d480cb9c2c4debfb40
parent5a64e93078a00dc5847dd8716cf3a83e4f5140d4
debugfs: fix printing of xattrs with ea_in_inode values

Due to a missing "else" debugfs was printing (garbage) from the xattr
buffer which could potentially overrun the end of the buffer.

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