summaryrefslogtreecommitdiffstats
path: root/EmbeddedPkg
diff options
context:
space:
mode:
authorJeff Fan <jeff.fan@intel.com>2016-11-18 10:46:43 +0800
committerJeff Fan <jeff.fan@intel.com>2016-11-23 21:11:40 +0800
commit1103519ed74d465cd902c083fa5ddeaa778102ef (patch)
tree055a142261b1f0325c78365e850724f9dbb5f7a2 /EmbeddedPkg
parentabcc3904c96613f7a552131fda764152834bf580 (diff)
downloadedk2-1103519ed74d465cd902c083fa5ddeaa778102ef.tar.gz
MdeModulePkg/PiSmmCore: Cache CommunicationBuffer info before using it
gSmmCorePrivate->CommunicationBuffer and gSmmCorePrivate->BufferSize locate at runtime memory region. That means they could be modified by non-SMM code during runtime. We should cache them into SMM local variables before we verify them. After verification, we should use the cached ones directly instead of the ones in gSmmCorePrivate. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Feng Tian <feng.tian@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> (cherry picked from commit eaae7b33b1cf6b9f21db1636f219c2b6a8d88afd)
Diffstat (limited to 'EmbeddedPkg')
0 files changed, 0 insertions, 0 deletions