commit | 19557ca43ad58e24046904b285fb2c91bf16f102 | [log] [tgz] |
---|---|---|
author | Anton Moryakov <ant.v.moryakov@gmail.com> | Tue Feb 25 16:53:27 2025 +0300 |
committer | Tom Rini <trini@konsulko.com> | Thu Mar 13 14:23:09 2025 -0600 |
tree | 14e2e9ec8c043918e3901b6c1d29fe75076d8d84 | |
parent | 1c9395d3584064087a909240d662f47d3e2bc1e8 [diff] |
lib: rsa: add NULL check for 'algo' in - Check return value of fdt_getprop for NULL. - Return -EFAULT if 'algo' property is missing. - Prevent NULL pointer dereference in strcmp." Triggers found by static analyzer Svace. Signed-off-by: Anton Moryakov <ant.v.moryakov@gmail.com>