summaryrefslogtreecommitdiff
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorAditya Pakki <pakki001@umn.edu>2020-02-14 12:21:01 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-28 15:39:17 +0100
commitbbd3d0f442864be4dae8e571c8865fbd35df9042 (patch)
tree4a2304f2f572d5cb91d004de677310cbd4b14374 /kernel/workqueue.c
parentfb78ebdfd775e3d41a39413a67148677b624bdde (diff)
ecryptfs: replace BUG_ON with error handling code
commit 2c2a7552dd6465e8fde6bc9cccf8d66ed1c1eb72 upstream. 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 <pakki001@umn.edu> Signed-off-by: Tyler Hicks <code@tyhicks.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions