diff options
| author | Aditya Pakki <[email protected]> | 2020-02-14 18:21:01 +0000 |
|---|---|---|
| committer | Tyler Hicks <[email protected]> | 2020-02-14 20:07:46 +0000 |
| commit | 2c2a7552dd6465e8fde6bc9cccf8d66ed1c1eb72 (patch) | |
| tree | 5ce545b447440ebe23331c9abd06c304631a4a4e /fs/jbd2/commit.c | |
| parent | eCryptfs: Replace deactivated email address (diff) | |
| download | kernel-2c2a7552dd6465e8fde6bc9cccf8d66ed1c1eb72.tar.gz kernel-2c2a7552dd6465e8fde6bc9cccf8d66ed1c1eb72.zip | |
ecryptfs: replace BUG_ON with error handling code
In crypt_scatterlist, if the crypt_stat argument is not set up
correctly, the kernel crashes. Instead, by returning an error code
upstream, the error is handled safely.
The issue is detected via a static analysis tool written by us.
Fixes: 237fead619984 (ecryptfs: fs/Makefile and fs/Kconfig)
Signed-off-by: Aditya Pakki <[email protected]>
Signed-off-by: Tyler Hicks <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
