commit | 04298686a43af15c091393fac71fc42e73efddbd | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Fri Jan 19 20:24:37 2018 +0100 |
committer | Alexander Graf <agraf@suse.de> | Mon Jan 22 23:09:13 2018 +0100 |
tree | 6ac13a8ba758413738cf7af23962694b20806963 | |
parent | 2074f70064b5860db0d273ad3d050e87764c08e5 [diff] |
efi_loader: return NULL from device path functions For the construction of device paths we need to call the AllocatePool service. We should not ignore if it fails due to an out of memory situation. This patch changes the device path functions to return NULL if the memory allocation fails. Additional patches will be needed to fix the callers. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>