Skip to content
Commit 2c3ec289 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

efi_loader: sanity checks when freeing memory



Use a checksum to validate that efi_free_pool() is only called for memory
allocated by efi_allocated_pool().

Add a plausibility check to efi_free_pages() checking that the address
passed is page aligned.

Update related function comments to match Sphinx style.

Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 1c606e84
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment