]> 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)
commit1a14d9a1e4e73355578e508b2540f3e8828ae8af
tree57c36ccb64c1d54f6ef9b8bad0621287dd7e0ebf
parent26c808dfb49e871fe9bdb0a42caf10d403c423a8
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