check memory allocations for success.
authorjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 4 Apr 2011 21:41:24 +0000 (21:41 +0000)
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 4 Apr 2011 21:41:24 +0000 (21:41 +0000)
commitcbdd109b43c8386d74a7bb40d892e5c2485f71f9
tree55cecf05db45228dae0f65785412b3eb7ce537a7
parent4aa4377fdab7a01995b2f32e2a96c8340531cb6e
check memory allocations for success.

check pointer before access.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11503 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c
ShellPkg/Library/UefiShellDebug1CommandsLib/SetVar.c
ShellPkg/Library/UefiShellLevel1CommandsLib/For.c
ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.uni
ShellPkg/Library/UefiShellLevel2CommandsLib/Vol.c