diff options
author | Hao Wu <hao.a.wu@intel.com> | 2016-10-11 16:08:16 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-11-08 16:38:18 +0800 |
commit | d6a1ce3b130800b84c1335a810798e6147eca431 (patch) | |
tree | bd7422762e0e49d6a329c52756f9d4732043e8d1 /edksetup.sh | |
parent | 5baa399e50854317c8788bc1cbae09c1af3b34c6 (diff) | |
download | edk2-platforms-d6a1ce3b130800b84c1335a810798e6147eca431.tar.xz |
BaseTools/VolInfo: 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 'edksetup.sh')
0 files changed, 0 insertions, 0 deletions