]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: initialize the shortform attr header padding entry
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 26 Aug 2020 21:12:18 +0000 (14:12 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 27 Aug 2020 15:01:31 +0000 (08:01 -0700)
commitf7c0c6d744e0c2a53bfda48dd8a77332821081d1
tree57c36ccb64c1d54f6ef9b8bad0621287dd7e0ebf
parentbce8bc4ef66600a72dac342157c01f22193604ac
xfs: initialize the shortform attr header padding entry

Don't leak kernel memory contents into the shortform attr fork.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_attr_leaf.c