]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Application/CapsuleApp/CapsuleApp.c
MdeModulePkg/CapsuleApp: Fix logic bug in CleanGatherList()
authorMichael D Kinney <michael.d.kinney@intel.com>
Tue, 20 Mar 2018 02:56:35 +0000 (19:56 -0700)
committerMichael D Kinney <michael.d.kinney@intel.com>
Thu, 22 Mar 2018 03:55:27 +0000 (20:55 -0700)
commit845f7cfef2d61f31adc4fbd94bf51ce459785e6b
tree5f3309d89aa95522976a6107c98e8cf435d0f6ea
parent2f1b849dc82f01ba5df198715f52dd6a0a8051c0
MdeModulePkg/CapsuleApp: Fix logic bug in CleanGatherList()

https://bugzilla.tianocore.org/show_bug.cgi?id=905

Fix pointer math when more than one capsule is passed
to the CapsuleApp.  Use the ContinuationPointer from
the last array entry instead of the first array entry.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
MdeModulePkg/Application/CapsuleApp/CapsuleApp.c