Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xfs: fix acl count validation in xfs_acl_from_disk()
commit 093019c upstream. Commit fa8b18e didn't prevent the integer overflow and possible memory corruption. "count" can go negative and bypass the check. Signed-off-by: Xi Wang <xi.wang@gmail.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ben Myers <bpm@sgi.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
- Loading branch information