summaryrefslogtreecommitdiffstats
path: root/FmpDevicePkg/Test
diff options
context:
space:
mode:
authorYi Li <yi1.li@intel.com>2023-12-19 11:11:43 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-01-19 06:47:46 +0000
commit00bf6890a9c63692215d690b3e00454dbe21b71c (patch)
tree77555c4501540b3598a95f9bb043b466452e298b /FmpDevicePkg/Test
parent9d3fe85fcc8ff386ee0814a4dad03bbf7dc54594 (diff)
downloadedk2-00bf6890a9c63692215d690b3e00454dbe21b71c.tar.gz
edk2-00bf6890a9c63692215d690b3e00454dbe21b71c.tar.bz2
edk2-00bf6890a9c63692215d690b3e00454dbe21b71c.zip
MdePkg: Add DECLARE_LENGTH opcode of dependency expression
To avoid messy parsing of the Depex section of a Capsule, it would be a lot easier for everyone involved if we preceded the Capsule Depex Section with a length declaration. It provides simple bounds checking to avoid having to parse the op-codes, but in the case of a malformed depex being parsed, avoid other issues which can be messy. REF: UEFI spec 2.10 Table 23.4 Signed-off-by: Yi Li <yi1.li@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Reviewed-by: Wei6 Xu <wei6.xu@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'FmpDevicePkg/Test')
0 files changed, 0 insertions, 0 deletions