Skip to content
Commit 94edadf5 authored by Jian J Wang's avatar Jian J Wang Committed by Hao Wu
Browse files

MdeModulePkg/PiSmmCore: Fix an assert issue in pool free



Following check-in caused this issue:
  2930ef98

This issue is caused by assigning incorrect value to PoolHdr.Size
if the requested size is more than MAX_POOL_SIZE, because the SMM
core will actually allocate page memory instead of pool memory in
this situation.

Cc: Star Zeng <star.zeng@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Wu Hao <hao.a.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: default avatarJian J Wang <jian.j.wang@intel.com>
Reviewed-by: default avatarStar Zeng <star.zeng@intel.com>
Reviewed-by: default avatarWu Hao <hao.a.wu@intel.com>
Tested-by: default avatarWu Hao <hao.a.wu@intel.com>
parent e2597799
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment