]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: validate acl count
authorChristoph Hellwig <hch@infradead.org>
Sun, 20 Nov 2011 15:35:32 +0000 (15:35 +0000)
committerBen Myers <bpm@sgi.com>
Tue, 29 Nov 2011 04:14:24 +0000 (22:14 -0600)
commitac32b879d2052a980de70a0d0be17a53816e0713
tree9765979df5cd3da5f7e7c54b6fcf47ae26486ec9
parent251290ef6ca33bc386c4849e325aa241f9007e41
xfs: validate acl count

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>
fs/xfs/xfs_acl.c