diff options
author | Anton Moryakov <ant.v.moryakov@gmail.com> | 2025-02-07 00:55:21 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-02-11 08:17:23 -0600 |
commit | bdf056441de30e639d2bc80c32027de3bf28ac4a (patch) | |
tree | 1c7f9006b69a858ce383b3a02a1a097fce3c76f9 /tools/patman/patchstream.py | |
parent | 4e18b47c73cdffb1dbd9ea196aeaff20e5030ade (diff) |
common: Add NULL checks for malloc_cache_aligned in autoboot.c
- Check return value of malloc_cache_aligned for presskey and sha.
- Return -ENOMEM if memory allocation fails.
- Free allocated memory in error paths."
Triggers found by static analyzer Svace.
Signed-off-by: Anton Moryakov <ant.v.moryakov@gmail.com>
Diffstat (limited to 'tools/patman/patchstream.py')
0 files changed, 0 insertions, 0 deletions