diff options
author | Gao, Zhichao <zhichao.gao@intel.com> | 2019-05-21 15:49:52 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2019-05-22 09:59:30 +0800 |
commit | 3604174718e2afc950c3cc64c64ba5165c8692bd (patch) | |
tree | e8f41cb83a099abe1768431bbee5349fcc03a8be /BaseTools/Source/Python/AutoGen/GenMake.py | |
parent | 9ca1f1446a5ad6b108044739a50e9275758e772c (diff) | |
download | edk2-3604174718e2afc950c3cc64c64ba5165c8692bd.tar.gz edk2-3604174718e2afc950c3cc64c64ba5165c8692bd.tar.bz2 edk2-3604174718e2afc950c3cc64c64ba5165c8692bd.zip |
IntelFrameworkModulePkg/DebugLib: Fix string copy issue
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1826
There is a bug to use AsciiStrCpyS to copy a truncated
string. If would cause an assert because the truncated
length is always less than the source string length. It
should use the AsciiStrnCpyS instead.
Cc: Liming Gao <liming.gao@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/GenMake.py')
0 files changed, 0 insertions, 0 deletions