]> git.proxmox.com Git - mirror_edk2.git/commit
FmpDevicePkg/FmpDependencyLib: Handle version string overflow
authorMichael Kubacki <michael.kubacki@microsoft.com>
Thu, 6 Aug 2020 19:05:38 +0000 (12:05 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 7 Aug 2020 02:30:01 +0000 (02:30 +0000)
commit86652264641337d960275514056ec94613ecda24
tree6d043b4a0d042251b115c657174b76f77feaf903
parentc2db6a86a25508725db8018c62dd39f92ae6ee79
FmpDevicePkg/FmpDependencyLib: Handle version string overflow

This change recognizes the condition of the DEPEX version string
extending beyond the end of the dependency expression as an error.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Cc: Wei6 Xu <wei6.xu@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Guomin Jiang <guomin.jiang@intel.com>
Reviewed-by: Wei6 Xu <wei6.xu@intel.com>
FmpDevicePkg/Library/FmpDependencyLib/FmpDependencyLib.c