summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.h
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2017-10-16 11:37:08 +0800
committerEric Dong <eric.dong@intel.com>2017-10-17 13:23:06 +0800
commit5f2b325e4d99bd55e4c4a2dfcfd2f7f3763009a7 (patch)
tree5651302a808ea36d311c8714cffdb9407fad36e1 /SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.h
parent1c29d03869355a5e9dfafb88332c139d8c5c2215 (diff)
downloadedk2-5f2b325e4d99bd55e4c4a2dfcfd2f7f3763009a7.tar.gz
edk2-5f2b325e4d99bd55e4c4a2dfcfd2f7f3763009a7.tar.bz2
edk2-5f2b325e4d99bd55e4c4a2dfcfd2f7f3763009a7.zip
Security/OpalHii.c: Handle NULL Request or Request with no elements
According to UEFI spec, for the ExtractConfig function in EFI_HII_CONFIG_ACCESS_PROTOCOL,If a NULL is passed in for the Request field or if a ConfigHdr is passed in with no request elements, all of the settings being abstracted by this function will be returned in the Results field. The implementation of ExtractConfig function in OpalHii.c misses to handle above cases.This patch is to do the enhancements. Cc: Chao Zhang <chao.b.zhang@intel.com> Cc: Eric Dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.h')
0 files changed, 0 insertions, 0 deletions