commit | acf7bee0b37332398eff668a976a82a378a60b08 | [log] [tgz] |
---|---|---|
author | Patrick Wildt <patrick@blueri.se> | Sun Mar 25 19:54:03 2018 +0200 |
committer | Alexander Graf <agraf@suse.de> | Wed Apr 04 11:22:35 2018 +0200 |
tree | 7534bd16923673ca9e779e491e7523d0e13ace0d | |
parent | 64b1cfab479e0f54e236327856206deb3aeb7bd6 [diff] |
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: Patrick Wildt <patrick@blueri.se> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>