audk/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe
Laszlo Ersek 1bf5007428 SecurityPkg/SecureBootConfigDxe: replace OpenFileByDevicePath() with UefiLib API
Replace the OpenFileByDevicePath() function with EfiOpenFileByDevicePath()
from UefiLib, correcting the following issues:

- imprecise comments on OpenFileByDevicePath(),
- code duplication between this module and other modules,
- local variable name "EfiSimpleFileSystemProtocol" starting with "Efi"
  prefix,
- bogus "FileHandle = NULL" assignments,
- leaking "Handle1" when the device path type/subtype check or the
  realignment-motivated AllocateCopyPool() fails in the loop,
- stale SHELL_FILE_HANDLE reference in a comment.

Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Roman Bacik <roman.bacik@broadcom.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1008
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
2018-08-16 20:02:50 +02:00
..
SecureBootConfig.vfr SecurityPkg: Clean up source files 2018-06-28 11:19:50 +08:00
SecureBootConfigDevicePath.c Update all the code to consume the ConvertDevicePathToText, ConvertDevicePathNodeToText, ConvertTextToDevicePath and ConvertTextToDeviceNode APIs in DevicePathLib. 2013-07-26 03:14:08 +00:00
SecureBootConfigDriver.c SecurityPkg: Clean up source files 2018-06-28 11:19:50 +08:00
SecureBootConfigDxe.inf SecurityPkg/SecureBootConfigDxe: replace OpenFileByDevicePath() with UefiLib API 2018-08-16 20:02:50 +02:00
SecureBootConfigDxe.uni SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
SecureBootConfigDxeExtra.uni SecurityPkg: Clean up source files 2018-06-28 11:19:50 +08:00
SecureBootConfigFileExplorer.c SecurityPkg/SecureBootConfigDxe: replace OpenFileByDevicePath() with UefiLib API 2018-08-16 20:02:50 +02:00
SecureBootConfigImpl.c SecurityPkg: Clean up source files 2018-06-28 11:19:50 +08:00
SecureBootConfigImpl.h SecurityPkg/SecureBootConfigDxe: Change the declaring of buffer. 2017-10-17 22:03:42 +08:00
SecureBootConfigMisc.c SecurityPkg: Clean up source files 2018-06-28 11:19:50 +08:00
SecureBootConfigNvData.h SecurityPkg/SecureBootConfigImpl.c: Secure Boot DBX UI Enhancement 2017-09-28 15:02:00 +08:00
SecureBootConfigStrings.uni SecurityPkg: Clean up source files 2018-06-28 11:19:50 +08:00