summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c
diff options
context:
space:
mode:
authorCinnamon Shia <cinnamon.shia@hpe.com>2016-02-22 05:53:14 +0300
committerLaszlo Ersek <lersek@redhat.com>2016-02-29 16:19:27 +0300
commitf5e6aa8e176c3f1dc557d85749ef797b8d482b56 (patch)
tree32ebf45bb38abdb29fa8f1b4c0c805a278f862a8 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c
parent9b6b938538076116768ee9b8e4d52d0cb51dcc8c (diff)
downloadedk2-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/Library/PiDxeS3BootScriptLib/BootScriptExecute.c')
0 files changed, 0 insertions, 0 deletions