diff options
| author | Vincent Stehlé <[email protected]> | 2026-06-11 08:59:50 +0200 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2026-06-21 10:53:01 +0200 |
| commit | 60ff3d950996c2ea0bb744fd9c922a96abc65774 (patch) | |
| tree | a5020bf2ca9a13da732df422a2c244a394d21ada /include/vsprintf.h | |
| parent | 41c6b83c777788692640fa0f85a2381d8959f301 (diff) | |
efi_selftest: fix use-after-free
When the `memory' efi selftest verifies the Devicetree memory reservation,
it accesses the memory_map buffer after it has been freed with free_pool().
Move the verification earlier to fix this.
Fixes: 34c96659ed57 ("efi_selftest: check fdt is marked as runtime data")
Signed-off-by: Vincent Stehlé <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
Cc: Tom Rini <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'include/vsprintf.h')
0 files changed, 0 insertions, 0 deletions
