/** @file\r
The logic to process capsule.\r
\r
+ Caution: This module requires additional review when modified.\r
+ This driver will have external input - capsule image.\r
+ This external input must be validated carefully to avoid security issue like\r
+ buffer overflow, integer overflow.\r
+\r
+ CapsuleDataCoalesce() will do basic validation before coalesce capsule data\r
+ into memory.\r
+\r
Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
| PrivateDataDesc 0 |\r
MemBase ---->+---------------------------+<----- BlockList\r
\r
+ Caution: This function may receive untrusted input.\r
+ The capsule data is external input, so this routine will do basic validation before\r
+ coalesce capsule data into memory.\r
+\r
@param PeiServices General purpose services available to every PEIM.\r
@param BlockListBuffer Point to the buffer of Capsule Descriptor Variables.\r
@param MemoryBase Pointer to the base of a block of memory that we can walk\r