Bug fix for a misplaced & in call to DestroyEnvironmentBlock() during process_execute(), was causing a hang on Vista and an Access Violation on server 2008.
git-svn-id: file:///home/svn/framework3/trunk@9779 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
11bad248c5
commit
7a57ca57a6
Binary file not shown.
Binary file not shown.
|
@ -294,7 +294,7 @@ DWORD request_sys_process_execute(Remote *remote, Packet *packet)
|
|||
break;
|
||||
}
|
||||
|
||||
if (lpfnDestroyEnvironmentBlock && (NULL != pEnvironment)) lpfnDestroyEnvironmentBlock(&pEnvironment);
|
||||
if (lpfnDestroyEnvironmentBlock && (NULL != pEnvironment)) lpfnDestroyEnvironmentBlock(pEnvironment);
|
||||
if ( NULL != hUserEnvLib ) FreeLibrary( hUserEnvLib );
|
||||
}
|
||||
else if( flags & PROCESS_EXECUTE_FLAG_SESSION )
|
||||
|
|
Loading…
Reference in New Issue