summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.msa
diff options
context:
space:
mode:
authorQihang Gao <gaoqihang@loongson.cn>2026-09-18 06:30:41 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-09-25 15:42:52 +0300
commit7c3952ce51f18cf29c7121a7c3e134303d69a582 (patch)
tree4cc3616730485b60c14585b1714cf167cfdb4ef5 /MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.msa
parenta7966ee33876622990f4ce8fb234e325a65e0ab7 (diff)
downloadedk2-7c3952ce51f18cf29c7121a7c3e134303d69a582.tar.xz
ArmPkg/SmbiosMiscDxe: Avoid overwriting Version in SetBiosVersion
Use a dedicated PcdVersion variable for PcdFirmwareVersionString instead of assigning it to Version. This prevents the pointer returned by HiiGetString() from being overwritten and lost. Also add a NULL check on PcdVersion before calling StrLen()/HiiSetString(). No functional change. Signed-off-by: Qihang Gao <gaoqihang@loongson.cn>
Diffstat (limited to 'MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.msa')
0 files changed, 0 insertions, 0 deletions