diff options
| author | Heinrich Schuchardt <[email protected]> | 2026-07-27 13:45:07 +0200 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2026-07-31 11:00:44 +0200 |
| commit | 2f61c8b0689c501659831a5c00601822f3ae9f27 (patch) | |
| tree | e8f9ba8daec07ea046b51d7f6ffc63451e134465 /scripts/cleanpatch | |
| parent | e394b1e848918019a0521f5e30f9f81d6e0d0ae6 (diff) | |
efi_loader: fix memory leak in efi_sigstore_parse_siglist
In case of an error in efi_sigstore_parse_siglist() function
efi_sigstore_free() is called. Currently it fails to free allocated data
because siglist->sig_data_list is not set on the error path.
Always update siglist->sig_data_list when a struct efi_sig_data is
allocated.
Suggested-by: Ilias Apalodimas <[email protected]>
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions
