kernel-hacking-2024-linux-s.../fs/ubifs
Chen Ni 054fd15984 ubifs: add check for crypto_shash_tfm_digest
Add check for the return value of crypto_shash_tfm_digest() and return
the error if it fails in order to catch the error.

Fixes: 817aa09484 ("ubifs: support offline signed images")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2024-07-12 22:01:09 +02:00
..
auth.c
budget.c
commit.c
compress.c ubifs: fix kernel-doc warnings 2024-07-12 21:53:35 +02:00
crypto.c
debug.c ubifs: correct UBIFS_DFS_DIR_LEN macro definition and improve code clarity 2024-07-12 21:52:24 +02:00
debug.h ubifs: correct UBIFS_DFS_DIR_LEN macro definition and improve code clarity 2024-07-12 21:52:24 +02:00
dir.c ubifs: Fix unattached inode when powercut happens in creating 2024-07-12 21:41:29 +02:00
file.c ubifs: Fix inconsistent inode size when powercut happens during appendant writing 2024-07-12 21:59:59 +02:00
find.c ubifs: fix kernel-doc warnings 2024-07-12 21:53:35 +02:00
gc.c
io.c
ioctl.c
journal.c ubifs: fix kernel-doc warnings 2024-07-12 21:53:35 +02:00
Kconfig
key.h
log.c
lprops.c ubifs: fix kernel-doc warnings 2024-07-12 21:53:35 +02:00
lpt.c ubifs: fix kernel-doc warnings 2024-07-12 21:53:35 +02:00
lpt_commit.c
Makefile
master.c ubifs: add check for crypto_shash_tfm_digest 2024-07-12 22:01:09 +02:00
misc.c
misc.h
orphan.c ubifs: dbg_orphan_check: Fix missed key type checking 2024-07-12 21:42:07 +02:00
recovery.c
replay.c ubifs: fix kernel-doc warnings 2024-07-12 21:53:35 +02:00
sb.c
scan.c
shrinker.c
super.c
sysfs.c ubifs: correct UBIFS_DFS_DIR_LEN macro definition and improve code clarity 2024-07-12 21:52:24 +02:00
tnc.c
tnc_commit.c
tnc_misc.c
ubifs-media.h
ubifs.h ubifs: correct UBIFS_DFS_DIR_LEN macro definition and improve code clarity 2024-07-12 21:52:24 +02:00
xattr.c ubifs: Fix space leak when powercut happens in linking tmpfile 2024-07-12 21:40:47 +02:00