commit | 6e0a1b411d0d2d560be8deb578f8032845be9bfa | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Wed Oct 30 20:13:24 2019 +0100 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Tue Nov 12 23:13:54 2019 +0100 |
tree | 09c9fdb26ee9cf41915aa925279ed7e5baf86ac3 | |
parent | f5b9ee2ca78ecad74716b4e3ed3a3a9753360a70 [diff] |
efi_loader: fix efi_dp_from_name() Correctly check the return value of efi_dp_from_file(). If we can determine device path for the file, should not depend on the device path for the device being requested. Provide a function description for efi_dp_from_name(). Reported-by: Coverity CID 273159, CID 273158 Fixes: 08c51fff30cc ("efi_loader: device_path: check against file path length") Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>