]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Universal/SetupBrowserDxe/Setup.c
MdeModulePkg/SetupBrowser: Clean the BufferValue for string before use
authorDandan Bi <dandan.bi@intel.com>
Tue, 10 May 2016 10:51:44 +0000 (18:51 +0800)
committerStar Zeng <star.zeng@intel.com>
Tue, 17 May 2016 06:38:05 +0000 (14:38 +0800)
commit05b2f9c94e0c0b663ff2d2fb55397d8215eeb3f5
tree015c6b762b6dd1167af975b7d2844afb599d5273
parentfa209e8c20d787c35dbb90c3c33f6db959aa1252
MdeModulePkg/SetupBrowser: Clean the BufferValue for string before use

When copy new string content to BufferValue, need to clean the
BufferValue firstly, or the BufferValue may contain some
content that doesn't belong to the new string.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
MdeModulePkg/Universal/SetupBrowserDxe/Setup.c