diff options
author | Bi, Dandan <dandan.bi@intel.com> | 2017-08-29 14:44:37 +0800 |
---|---|---|
committer | Eric Dong <eric.dong@intel.com> | 2017-08-29 15:57:12 +0800 |
commit | 1696b221b15e439162cfccd6bd04132e425dd2ff (patch) | |
tree | 430ed8cf2147e5d48f7232221d984cfa84e986af /EmbeddedPkg/Include | |
parent | 2f208e59e4b994978a1a24affc306eb694a00327 (diff) | |
download | edk2-1696b221b15e439162cfccd6bd04132e425dd2ff.tar.gz edk2-1696b221b15e439162cfccd6bd04132e425dd2ff.tar.bz2 edk2-1696b221b15e439162cfccd6bd04132e425dd2ff.zip |
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 'EmbeddedPkg/Include')
0 files changed, 0 insertions, 0 deletions