mirror_edk2/ShellPkg/Application/Shell
Jaben Carsey 8844288c4e ShellPkg: assign pointer to NULL after free to prevent double free
Since the API caller may call twice we need to make sure that we set pointer to NULL so we can tell if already free.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15107 6f19259b-4bc3-4df7-8a09-765794883524
2014-01-13 18:47:18 +00:00
..
ConsoleLogger.c Enhance Shell 2.0 to not depend on keyboard driver implementation to fix the "CTRL+s" pause malfunction issue. 2014-01-07 02:23:10 +00:00
ConsoleLogger.h ShellPkg: Clean up header file usage. 2012-11-13 22:39:09 +00:00
ConsoleWrappers.c Add a new line to initialize the variable “PassThruProtocol” in ConsoleWrapers.c to ensure the initialization not to be a part of its declaration. 2013-12-16 01:53:11 +00:00
ConsoleWrappers.h ShellPkg: Fixes the shell so output redirection works for the 'mode' command 2013-10-24 17:47:57 +00:00
FileHandleInternal.h Refine comments and two code style. 2011-09-02 08:05:34 +00:00
FileHandleWrappers.c Add code to check whether the pointer 'NewBuffer' in 'FileHandelWrappers.c' and the pointer 'FoundVarName' in 'Dmpstore.c' are NULL before used. 2014-01-09 00:30:27 +00:00
FileHandleWrappers.h udk2010.up2.shell initial release. 2010-09-14 05:18:09 +00:00
Shell.c ShellPkg: Fix command line parsing for script files (%1, %1, etc...) 2014-01-13 07:30:08 +00:00
Shell.h ShellPkg: Fix command line parsing for script files (%1, %1, etc...) 2014-01-13 07:30:08 +00:00
Shell.inf ShellPkg: Fixes for shell application launch, argument handling, and version output: 2013-10-18 15:49:23 +00:00
Shell.uni ShellPkg: Fixes for shell application launch, argument handling, and version output: 2013-10-18 15:49:23 +00:00
ShellEnvVar.c ShellPkg: Clean up header file usage. 2012-11-13 22:39:09 +00:00
ShellEnvVar.h Refine comments and two code style. 2011-09-02 08:05:34 +00:00
ShellManParser.c Follow Shell specification to make sure the “command.man” file is always used no matter “command.efi -?” or “command -?” is typed. 2013-12-09 02:24:39 +00:00
ShellManParser.h udk2010.up2.shell initial release. 2010-09-14 05:18:09 +00:00
ShellParametersProtocol.c ShellPkg: add error messages into function 2013-12-13 23:53:59 +00:00
ShellParametersProtocol.h ShellPkg: Clean up header file usage. 2012-11-13 22:39:09 +00:00
ShellProtocol.c ShellPkg: assign pointer to NULL after free to prevent double free 2014-01-13 18:47:18 +00:00
ShellProtocol.h ShellPkg: Remove memory leak from file list usage 2014-01-09 17:59:46 +00:00