From: <Or...@us...> - 2008-08-17 21:40:45
|
Revision: 329 http://acmcontester.svn.sourceforge.net/acmcontester/?rev=329&view=rev Author: Oracle_ Date: 2008-08-17 21:40:55 +0000 (Sun, 17 Aug 2008) Log Message: ----------- Fixed bug with DoubleSecure. Modified Paths: -------------- ACMServer/trunk/sharp tester/SourceTest 2.0/Test/SecureClass.cpp Modified: ACMServer/trunk/sharp tester/SourceTest 2.0/Test/SecureClass.cpp =================================================================== --- ACMServer/trunk/sharp tester/SourceTest 2.0/Test/SecureClass.cpp 2008-08-17 20:34:53 UTC (rev 328) +++ ACMServer/trunk/sharp tester/SourceTest 2.0/Test/SecureClass.cpp 2008-08-17 21:40:55 UTC (rev 329) @@ -339,7 +339,13 @@ bool DoubleSecure::CreateProc(LPWSTR lpApplicationName,BOOL bInheritHandles,DWORD dwCreationFlags,LPSTARTUPINFOW lpStartupInfo) { - return usersec->CreateProc(lpApplicationName,bInheritHandles,dwCreationFlags,lpStartupInfo); + bool res=usersec->CreateProc(lpApplicationName,bInheritHandles,dwCreationFlags,lpStartupInfo); + if (res) + { + this->process=usersec->process; + this->thread=usersec->thread; + } + return res; } bool DoubleSecure::CheckSecure() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |