]> Git Repo - u-boot.git/commit
efi_memory: avoid NULL dereference in efi_free_pool
author[email protected] <[email protected]>
Fri, 14 Jul 2017 17:12:39 +0000 (19:12 +0200)
committerAlexander Graf <[email protected]>
Wed, 19 Jul 2017 12:14:41 +0000 (14:14 +0200)
commit71275a3e985db60b53b381f5253fdb15c663e18e
tree43e94e7ee118aebb999f35c592eaa8587f983215
parent70bfcdc6bb6f969babd69efc49e1dc7a1faeca54
efi_memory: avoid NULL dereference in efi_free_pool

If efi_free_pool is called with argument NULL an illegal memory
access occurs.

So let's check the parameter on entry.

Signed-off-by: Heinrich Schuchardt <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
lib/efi_loader/efi_memory.c
This page took 0.02693 seconds and 4 git commands to generate.