diff options
author | Cinnamon Shia <cinnamon.shia@hpe.com> | 2016-02-22 10:53:14 +0800 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2016-02-29 14:19:27 +0100 |
commit | f5e6aa8e176c3f1dc557d85749ef797b8d482b56 (patch) | |
tree | 32ebf45bb38abdb29fa8f1b4c0c805a278f862a8 /MdeModulePkg/Include | |
parent | 9b6b938538076116768ee9b8e4d52d0cb51dcc8c (diff) | |
download | edk2-platforms-f5e6aa8e176c3f1dc557d85749ef797b8d482b56.tar.xz |
MdeModulePkg/HiiDatabaseDxe: Fix a variable is uninitialized.
The StringSize variable in the FindStringBlock function is a IN OUT
parameter of the GetUnicodeStringTextOrSize function.
Thought the GetUnicodeStringTextOrSize function changes the value of
the StringSize variable, it is better to initialize the StringSize
variable before passing it to the GetUnicodeStringTextOrSize function.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Cinnamon Shia <cinnamon.shia@hpe.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'MdeModulePkg/Include')
0 files changed, 0 insertions, 0 deletions