diff options
author | Hao Wu <hao.a.wu@intel.com> | 2017-12-18 14:26:12 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2017-12-25 09:54:18 +0800 |
commit | 3e1497334e45d09b8eccbc24ca571308e015e995 (patch) | |
tree | 7399ded3c9648b4c43fbf2d3a7c89ba6696c0d30 /BaseTools/Source/Python/Workspace/MetaFileParser.py | |
parent | 938cf4b9bd91167e4de637de3c1e7fa449e9de94 (diff) | |
download | edk2-3e1497334e45d09b8eccbc24ca571308e015e995.tar.gz edk2-3e1497334e45d09b8eccbc24ca571308e015e995.tar.bz2 edk2-3e1497334e45d09b8eccbc24ca571308e015e995.zip |
BaseTools/C/Common: Refine using sprintf() with '%s' in format string
The commit removes the usages of sprintf() function calls with '%s' in
the format string. And uses strncpy/strncat instead to ensure the
destination string buffers will not be accessed beyond their boundary.
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileParser.py')
0 files changed, 0 insertions, 0 deletions