commit | b4e2ba32c8551f306268131f0655f827717682c3 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Tue Mar 26 05:31:41 2019 +0100 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sun Apr 07 14:17:06 2019 +0200 |
tree | 4186bd1db25d8823546d77ed35a16f8805ef9b6e | |
parent | f92074f058bd2c206cfba2fb3c3d5c01c6ffcd4c [diff] |
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: Heinrich Schuchardt <xypron.glpk@gmx.de>