diff options
author | Qiu Shumin <shumin.qiu@intel.com> | 2015-12-13 08:44:49 +0000 |
---|---|---|
committer | shenshushi <shenshushi@Edk2> | 2015-12-13 08:44:49 +0000 |
commit | 02d3482574ed2b0b5435563c234563bea2167634 (patch) | |
tree | a451eeadeee983f2aba69bfa3ecb0224abd525b2 /BaseTools/Source/Python/Ecc/Ecc.py | |
parent | 898378c2be038bfbee21a8dd284a3dc3c5bb8f5e (diff) | |
download | edk2-platforms-02d3482574ed2b0b5435563c234563bea2167634.tar.xz |
ShellPkg: Initialize the local pointer to avoid potential suspicious dereference.
1. Initialize the local pointer 'HandleBuffer'.
2. When 'LocateHandleBuffer' return error 'HandleBuffer' is expected unchanged, add code make sure this.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19229 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source/Python/Ecc/Ecc.py')
0 files changed, 0 insertions, 0 deletions