summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2016-01-21 18:40:09 +0000
committerHao Wu <hao.a.wu@intel.com>2016-07-13 20:41:29 +0800
commitd8f9fd6c8bb5f3006b215d1c59669cc7a6ddb04a (patch)
tree026bb494517c25db73fe223e4251a3bd93c7565c /IntelFrameworkModulePkg
parent26d4537daaaca9fdf67725bd330f2919bc3add7b (diff)
downloadedk2-platforms-d8f9fd6c8bb5f3006b215d1c59669cc7a6ddb04a.tar.xz
ShellPkg: BcfgDisplayDump(): enforce minimum size for Boot#### and co.
"3.1.1 Boot Manager Programming" in the UEFI 2.5 spec mandates that Boot#### and similar options contain EFI_LOAD_OPTION structures. The EFI_LOAD_OPTION structure encodes the fixed initial part of the payload, and we can (and should) use it to enforce a minimum size for variable contents. This patch is meant as a safety improvement. Cc: Jaben Carsey <jaben.carsey@intel.com> Cc: Ryan Harkin <ryan.harkin@linaro.org> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19710 6f19259b-4bc3-4df7-8a09-765794883524 (cherry picked from commit e5945ef78463a2a90631c91e9f8cff109fd20625)
Diffstat (limited to 'IntelFrameworkModulePkg')
0 files changed, 0 insertions, 0 deletions