Revision: 14064
http://edk2.svn.sourceforge.net/edk2/?rev=14064&view=rev
Author: jcarsey
Date: 2013-01-17 19:04:36 +0000 (Thu, 17 Jan 2013)
Log Message:
-----------
ShellPkg: Fix pointer initialization error of
?\226?\128?\156ShellOpt?\226?\128?\157 Shell environment variable
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud [email protected]
Reviewed-by: jaben carsey <[email protected]>
Modified Paths:
--------------
trunk/edk2/ShellPkg/Application/Shell/ShellParametersProtocol.c
Modified: trunk/edk2/ShellPkg/Application/Shell/ShellParametersProtocol.c
===================================================================
--- trunk/edk2/ShellPkg/Application/Shell/ShellParametersProtocol.c
2013-01-17 19:04:02 UTC (rev 14063)
+++ trunk/edk2/ShellPkg/Application/Shell/ShellParametersProtocol.c
2013-01-17 19:04:36 UTC (rev 14064)
@@ -290,10 +290,10 @@
//
// Build the full command line
//
- Status = SHELL_GET_ENVIRONMENT_VARIABLE(L"ShellOpt", &Size,
&FullCommandLine);
+ Status = SHELL_GET_ENVIRONMENT_VARIABLE(L"ShellOpt", &Size, FullCommandLine);
if (Status == EFI_BUFFER_TOO_SMALL) {
FullCommandLine = AllocateZeroPool(Size + LoadedImage->LoadOptionsSize);
- Status = SHELL_GET_ENVIRONMENT_VARIABLE(L"ShellOpt", &Size,
&FullCommandLine);
+ Status = SHELL_GET_ENVIRONMENT_VARIABLE(L"ShellOpt", &Size,
FullCommandLine);
}
if (Status == EFI_NOT_FOUND) {
//
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits