diff options
author | Feng Tian <feng.tian@intel.com> | 2016-04-26 15:16:26 +0800 |
---|---|---|
committer | Feng Tian <feng.tian@intel.com> | 2016-04-26 15:44:55 +0800 |
commit | da7c72740f7f7172ffa0e62a512ad291ea0f4f87 (patch) | |
tree | 6e579dacbb4e316c24b8ba2a0d0e50233e7940b5 /BaseTools/Source/Python | |
parent | ac231001f5c08356b236dc96aacb3015720cddf0 (diff) | |
download | edk2-platforms-da7c72740f7f7172ffa0e62a512ad291ea0f4f87.tar.xz |
MdeModulePkg/NvmExpress: Fix bug of handling not null-terminated strings
In EnumerateNvmeDevNamespace(), when Private->ControllerData->Sn and/or
Private->ControllerData->Mn are NOT null-terminated strings,
UnicodeSPrintAsciiFormat(…) may generate unexpected (garbage) output
string.
Cc: Simon (Xiang) Lian-SSI <simon.lian@ssi.samsung.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Simon (Xiang) Lian-SSI <simon.lian@ssi.samsung.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions