Author: cfinck
Date: Sat Feb 28 02:39:14 2015
New Revision: 66481
URL: http://svn.reactos.org/svn/reactos?rev=66481&view=rev
Log:
[ROSAUTOTEST]
- Check the environment variable ROSAUTOTEST_DIR for an alternative path to the test executables. Otherwise use the default %windir%\bin
- Update the URL of the web service
Modified:
trunk/rostests/rosautotest/CWebService.cpp
trunk/rostests/rosautotest/CWineTest.cpp
Modified: trunk/rostests/rosautotest/CWebService.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/rostests/rosautotest/CWebService.c…
==============================================================================
--- trunk/rostests/rosautotest/CWebService.cpp [iso-8859-1] (original)
+++ trunk/rostests/rosautotest/CWebService.cpp [iso-8859-1] Sat Feb 28 02:39:14 2015
@@ -2,13 +2,13 @@
* PROJECT: ReactOS Automatic Testing Utility
* LICENSE: GNU GPLv2 or any later version as published by the Free Software Foundation
* PURPOSE: Class implementing the interface to the "testman" Web Service
- * COPYRIGHT: Copyright 2009-2011 Colin Finck <colin(a)reactos.org>
+ * COPYRIGHT: Copyright 2009-2015 Colin Finck <colin(a)reactos.org>
*/
#include "precomp.h"
static const WCHAR szHostname[] = L"reactos.org";
-static const WCHAR szServerFile[] = L"testman/webservice/";
+static const WCHAR szServerFile[] = L"sites/all/modules/reactos/testman/webservice/";
/**
* Constructs a CWebService object and immediately establishes a connection to the "testman" Web Service.
Modified: trunk/rostests/rosautotest/CWineTest.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/rostests/rosautotest/CWineTest.cpp…
==============================================================================
--- trunk/rostests/rosautotest/CWineTest.cpp [iso-8859-1] (original)
+++ trunk/rostests/rosautotest/CWineTest.cpp [iso-8859-1] Sat Feb 28 02:39:14 2015
@@ -2,7 +2,7 @@
* PROJECT: ReactOS Automatic Testing Utility
* LICENSE: GNU GPLv2 or any later version as published by the Free Software Foundation
* PURPOSE: Class implementing functions for handling Wine tests
- * COPYRIGHT: Copyright 2009 Colin Finck <colin(a)reactos.org>
+ * COPYRIGHT: Copyright 2009-2015 Colin Finck <colin(a)reactos.org>
*/
#include "precomp.h"
@@ -13,19 +13,25 @@
* Constructs a CWineTest object.
*/
CWineTest::CWineTest()
-{
- WCHAR WindowsDirectory[MAX_PATH];
-
- /* Zero-initialize variables */
- m_hFind = NULL;
- m_ListBuffer = NULL;
+ : m_hFind(NULL), m_ListBuffer(NULL)
+{
+ WCHAR wszDirectory[MAX_PATH];
/* Set up m_TestPath */
- if(!GetWindowsDirectoryW(WindowsDirectory, MAX_PATH))
- FATAL("GetWindowsDirectoryW failed");
-
- m_TestPath = WindowsDirectory;
- m_TestPath += L"\\bin\\";
+ if (GetEnvironmentVariableW(L"ROSAUTOTEST_DIR", wszDirectory, MAX_PATH))
+ {
+ m_TestPath = wszDirectory;
+ if (*m_TestPath.rbegin() != L'\\')
+ m_TestPath += L'\\';
+ }
+ else
+ {
+ if (!GetWindowsDirectoryW(wszDirectory, MAX_PATH))
+ FATAL("GetWindowsDirectoryW failed");
+
+ m_TestPath = wszDirectory;
+ m_TestPath += L"\\bin\\";
+ }
}
/**
Author: hbelusca
Date: Fri Feb 27 01:59:17 2015
New Revision: 66476
URL: http://svn.reactos.org/svn/reactos?rev=66476&view=rev
Log:
[BUGCODES]: Add bugcheck 0xF7 DRIVER_OVERRAN_STACK_BUFFER (that encountered while debugging Windows), with description coming from what windbg gave to me.
Modified:
trunk/reactos/include/reactos/mc/bugcodes.mc
Modified: trunk/reactos/include/reactos/mc/bugcodes.mc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/mc/bugcode…
==============================================================================
--- trunk/reactos/include/reactos/mc/bugcodes.mc [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/mc/bugcodes.mc [iso-8859-1] Fri Feb 27 01:59:17 2015
@@ -1578,6 +1578,15 @@
The PCI driver has detected an error in a PCI device or BIOS being verified.
.
+MessageId=0xF7
+Severity=Success
+Facility=System
+SymbolicName=DRIVER_OVERRAN_STACK_BUFFER
+Language=English
+A driver has overrun a stack-based buffer. This overrun could potentially
+allow a malicious user to gain control of this machine.
+.
+
MessageId=0xF8
Severity=Success
Facility=System