diff options
| author | Bi, Dandan <dandan.bi@intel.com> | 2017-08-29 09:44:37 +0300 |
|---|---|---|
| committer | Eric Dong <eric.dong@intel.com> | 2017-08-29 10:57:12 +0300 |
| commit | 1696b221b15e439162cfccd6bd04132e425dd2ff (patch) | |
| tree | 430ed8cf2147e5d48f7232221d984cfa84e986af /BaseTools/Source/Python/Table/TablePcd.py | |
| parent | 2f208e59e4b994978a1a24affc306eb694a00327 (diff) | |
| download | edk2-1696b221b15e439162cfccd6bd04132e425dd2ff.tar.xz | |
MdeModulePkg/UefiHiiLib: Fix incorrect check for string length
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=681
For string opcode,when checking the valid string length,
it should exclude the Null-terminated character.
And for string in NameValue storage, need to exclude
the varname and also need to convert the Config string
length to Unicode string length.
Cc: Eric Dong <eric.dong@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Table/TablePcd.py')
0 files changed, 0 insertions, 0 deletions
