OSDN Git Service

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)
commit125eac243806e021f33a1fdea3687eccbb9f7636
tree57c36ccb64c1d54f6ef9b8bad0621287dd7e0ebf
parentf4020438fab05364018c91f7e02ebdd192085933
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