[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198
kbalazs at webkit.org
kbalazs at webkit.org
Mon Feb 21 00:00:27 UTC 2011
The following commit has been merged in the webkit-1.3 branch:
commit bc620124e021681c44183fac42c81886ff5cc8ea
Author: kbalazs at webkit.org <kbalazs at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Jan 27 18:09:31 2011 +0000
Trivial crash fix in WTR.
Rubber-stamped by Ariya Hidayat.
* WebKitTestRunner/TestController.cpp:
(WTR::TestController::initialize): Increase the size
of the vector by one to be able to store the null character.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Tools/ChangeLog b/Tools/ChangeLog
index 99752dd..12283d3 100644
--- a/Tools/ChangeLog
+++ b/Tools/ChangeLog
@@ -1,5 +1,15 @@
2011-01-27 Balazs Kelemen <kbalazs at webkit.org>
+ Rubber-stamped by Ariya Hidayat.
+
+ Trivial crash fix in WTR.
+
+ * WebKitTestRunner/TestController.cpp:
+ (WTR::TestController::initialize): Increase the size
+ of the vector by one to be able to store the null character.
+
+2011-01-27 Balazs Kelemen <kbalazs at webkit.org>
+
Reviewed by Csaba Osztrogonác.
[Qt][WK2] WTR should be initialized in the same way as DRT
diff --git a/Tools/WebKitTestRunner/TestController.cpp b/Tools/WebKitTestRunner/TestController.cpp
index 5d65d43..7a6bd01 100644
--- a/Tools/WebKitTestRunner/TestController.cpp
+++ b/Tools/WebKitTestRunner/TestController.cpp
@@ -242,7 +242,7 @@ void TestController::initialize(int argc, const char* argv[])
const char* path = libraryPathForTesting();
if (path) {
- Vector<char> databaseDirectory(strlen(path) + strlen("/Databases"));
+ Vector<char> databaseDirectory(strlen(path) + strlen("/Databases") + 1);
sprintf(databaseDirectory.data(), "%s%s", path, "/Databases");
WKRetainPtr<WKStringRef> databaseDirectoryWK(AdoptWK, WKStringCreateWithUTF8CString(databaseDirectory.data()));
WKContextSetDatabaseDirectory(m_context.get(), databaseDirectoryWK.get());
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list