Skip to content
Commit eab2dc37 authored by Patrick Wildt's avatar Patrick Wildt Committed by Alexander Graf
Browse files

efi_loader: initialize device path on alloc



Since the backing memory for a new device path can contain stale
data we have to make sure that we zero the buffer.  Otherwise some
code paths that don't set all fields in a structure backed by this
device path might contain unwanted stale data.

Signed-off-by: default avatarPatrick Wildt <patrick@blueri.se>
Reviewed-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent e2742358
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment