Skip to content
Snippets Groups Projects
Commit fe5bc23f authored by Ivan Gorinov's avatar Ivan Gorinov Committed by Alexander Graf
Browse files

efi_selftest: check for buffer overflow in efi_get_variable


Allocate a buffer on the stack instead of an array of uninitialized
pointers; check if GetVariable writes past the end of the buffer.

Signed-off-by: default avatarIvan Gorinov <ivan.gorinov@intel.com>
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 7f474ef6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment