diff options
author | Hao Wu <hao.a.wu@intel.com> | 2016-10-08 15:28:21 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-11-08 16:38:15 +0800 |
commit | 5baa399e50854317c8788bc1cbae09c1af3b34c6 (patch) | |
tree | e4a86d7f7a08a7b6403d2acff47c6fc16c5edae8 /FatBinPkg | |
parent | 2a9afe80c3390d2f3540fbb461bb398e49159838 (diff) | |
download | edk2-platforms-5baa399e50854317c8788bc1cbae09c1af3b34c6.tar.xz |
BaseTools/GenVtf: Provide string width in '%s' specifier in format string
String width is not specified for '%s' specifier in the format string for
scanf functions.
This commit now specifies the string length for '%s' in format strings
according to the size of receiving buffers.
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'FatBinPkg')
0 files changed, 0 insertions, 0 deletions