diff options
author | Anton Moryakov <ant.v.moryakov@gmail.com> | 2024-12-19 16:51:03 +0300 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2024-12-20 18:35:13 +0100 |
commit | 117efd252bc485084a609c405c312f5a9229e25a (patch) | |
tree | 9f843d196bbf7fe45fa5269bf9038aae58e38b83 /ubifs-utils/common/kmem.h | |
parent | 78f4f38bd3de8b5c590cbc09ce43812306207d95 (diff) |
Corrections explained:
Added robust handling for malloc() failure by checking the returnvalueand providing a clear error message.
Triggers found by static analyzer Svace.
Signed-off-by: Anton Moryakov <ant.v.moryakov@gmail.com>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubifs-utils/common/kmem.h')
0 files changed, 0 insertions, 0 deletions