diff options
author | Chen Ni <nichen@iscas.ac.cn> | 2024-06-20 16:19:26 +0800 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2024-07-12 22:01:09 +0200 |
commit | 054fd15984454f031611d6c63675fc578aad0cb1 (patch) | |
tree | 5f53f1ccc86dad726bf69b0a463bbde9cf6a7dd5 /fs/ubifs/find.c | |
parent | 25e79a7f2c9e54872fb2c8932bb582a500284505 (diff) | |
download | lwn-054fd15984454f031611d6c63675fc578aad0cb1.tar.gz lwn-054fd15984454f031611d6c63675fc578aad0cb1.zip |
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: 817aa094842d ("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>
Diffstat (limited to 'fs/ubifs/find.c')
0 files changed, 0 insertions, 0 deletions