commit | e53c24cc883a5a406a8e9185eb0b945469aef15e | [log] [tgz] |
---|---|---|
author | Lijuan Gao <lijuang@codeaurora.org> | Mon Sep 28 18:43:16 2020 +0800 |
committer | Lijuan Gao <lijuang@codeaurora.org> | Tue Oct 13 15:17:49 2020 +0800 |
tree | 4214020a4f0d695f42a1b9760a2427001671bb67 | |
parent | b5f47dc24cba3a14a28058af7debc0a4a211c1d3 [diff] |
QcomModulePkg: Fix the OOB error when updating GPT partition OOB maybe occur when updating GPT partition if the image size is too small. 1. PrimaryGptHdr = (Gpt + BlkSz). 2. SecondaryGptHdr = Offset + BlkSz + PrimaryGptHdr. Change-Id: Id1624ba23a5d5ea7159378760071579af645535a