]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: validate acl count
authorChristoph Hellwig <hch@infradead.org>
Tue, 6 Dec 2011 21:21:05 +0000 (16:21 -0500)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Fri, 16 Dec 2011 01:38:16 +0000 (17:38 -0800)
commit1026c37b3f196cbfddcdc21081271aca178e1f03
tree1265ad211445ed0c266948db49936c9fe7d34403
parent61c79f246197208616151e01ea8730f2d6ff5201
xfs: validate acl count

commit fa8b18edd752a8b4e9d1ee2cd615b82c93cf8bba upstream.

This prevents in-memory corruption and possible panics if the on-disk
ACL is badly corrupted.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
Acked-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/xfs/linux-2.6/xfs_acl.c