]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c
MdeModulePkg:Fix the bug the incorrect change of StrCpyS function
authorDandan Bi <dandan.bi@intel.com>
Thu, 17 Sep 2015 07:21:22 +0000 (07:21 +0000)
committerdandanbi <dandanbi@Edk2>
Thu, 17 Sep 2015 07:21:22 +0000 (07:21 +0000)
commit2d3e4cd167614be3956264d81b6d64b33177b33f
tree2c6c56f0453c7ae26cbd6fb4264268cbf0a16dfc
parent4e904348e323ae7b7d49c9f1716482d37a8f8fa4
MdeModulePkg:Fix the bug the incorrect change of StrCpyS function

The pointer to the destination string changed,the max length also changed.Previous change neglect this point.
And base on the code logic,we can use StrCatS to replace StrCpyS.Now this patch is to fix this bug.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18497 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Library/UefiHiiLib/HiiLib.c
MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c