diff options
author | Ard Biesheuvel <[email protected]> | 2024-10-13 15:19:04 +0200 |
---|---|---|
committer | Ard Biesheuvel <[email protected]> | 2024-11-15 10:40:51 +0100 |
commit | 06d39d79cbd5a91a33707951ebf2512d0e759847 (patch) | |
tree | 5b4029519a925734cfb9dc73e929421cb57c7ce0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 63971b0f51faff0ff844a85d297e27861555c328 (diff) |
efi/libstub: Free correct pointer on failure
cmdline_ptr is an out parameter, which is not allocated by the function
itself, and likely points into the caller's stack.
cmdline refers to the pool allocation that should be freed when cleaning
up after a failure, so pass this instead to free_pool().
Fixes: 42c8ea3dca09 ("efi: libstub: Factor out EFI stub entrypoint ...")
Cc: <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions