]> git.baikalelectronics.ru Git - kernel.git/commit
ext4 crypto: replace some BUG_ON()'s with error checks
authorTheodore Ts'o <tytso@mit.edu>
Sat, 3 Oct 2015 14:49:27 +0000 (10:49 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 3 Oct 2015 14:49:27 +0000 (10:49 -0400)
commit397fd1877c54f3b328626c500a3ddb1bc76f2f99
treeb2da54484833da41c4d112429becc0ae5df1941e
parent33463b28fcf98cd7ed73dc340ac666a8c985f187
ext4 crypto: replace some BUG_ON()'s with error checks

Buggy (or hostile) userspace should not be able to cause the kernel to
crash.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
fs/ext4/crypto.c
fs/ext4/crypto_fname.c
fs/ext4/crypto_key.c
fs/ext4/crypto_policy.c