audk/FmpDevicePkg/Library
Yi Li 0223bdd4e4 FmpDevicePkg: 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: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Wei6 Xu <wei6.xu@intel.com>
Reviewed-by: Wei6 Xu <wei6.xu@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
2024-01-19 06:47:46 +00:00
..
CapsuleUpdatePolicyLibNull FmpDevicePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CapsuleUpdatePolicyLibOnProtocol FmpDevicePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
FmpDependencyCheckLib FmpDevicePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
FmpDependencyCheckLibNull FmpDevicePkg: Change OPTIONAL keyword usage style 2021-12-07 17:24:28 +00:00
FmpDependencyDeviceLibNull FmpDevicePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
FmpDependencyLib FmpDevicePkg: Add DECLARE_LENGTH opcode of dependency expression 2024-01-19 06:47:46 +00:00
FmpDeviceLibNull FmpDevicePkg/FmpDxe: Update FmpDeviceCheckImageWithStatus() handling 2022-01-20 01:41:06 +00:00
FmpPayloadHeaderLibV1 FmpDevicePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00