diff options
author | Zhang, Shenglei <shenglei.zhang@intel.com> | 2019-08-12 14:24:44 +0800 |
---|---|---|
committer | Hao A Wu <hao.a.wu@intel.com> | 2019-08-14 09:04:04 +0800 |
commit | 46f8a6891606746ca8b1e684ac379ce271306dc0 (patch) | |
tree | 4221e5b0b5b73a8bb1db7bea3359e81f421ef90b /BaseTools/Source/Python/AutoGen/ModuleAutoGen.py | |
parent | 073f2cede820782e37e31bd6664aa53b79bbade4 (diff) | |
download | edk2-46f8a6891606746ca8b1e684ac379ce271306dc0.tar.gz edk2-46f8a6891606746ca8b1e684ac379ce271306dc0.tar.bz2 edk2-46f8a6891606746ca8b1e684ac379ce271306dc0.zip |
MdeModulePkg/DxeIplPeim: Relocate operation of PageMapLevel5Entry++
This commit will fix a GCC 4.8.5 build failure introduced by commit
b3527dedc3951f061c5a73cb4fb2b0f95f47e08b.
PageMapLevel5Entry may be uninitialized in original code, which means
uninitialized pointer will be modified at some circumstance.
So relocate the operation of PageMapLevel5Entry++ in order to make sure
the pointer could be modified only when it is initialized.
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/ModuleAutoGen.py')
0 files changed, 0 insertions, 0 deletions