Title: [197559] releases/WebKitGTK/webkit-2.4/Source/WebCore
- Revision
- 197559
- Author
- [email protected]
- Date
- 2016-03-04 05:03:00 -0800 (Fri, 04 Mar 2016)
Log Message
Merge r169665 - Initialize a char* that needs to be initialized.
<rdar://problem/15840022> and https://bugs.webkit.org/show_bug.cgi?id=133585
Reviewed by Mark Rowe.
r152134 (erroneously) removed this initialization.
* platform/sql/SQLiteStatement.cpp:
(WebCore::SQLiteStatement::prepare): tail should start out initialized to 0.
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.4/Source/WebCore/ChangeLog (197558 => 197559)
--- releases/WebKitGTK/webkit-2.4/Source/WebCore/ChangeLog 2016-03-04 13:01:29 UTC (rev 197558)
+++ releases/WebKitGTK/webkit-2.4/Source/WebCore/ChangeLog 2016-03-04 13:03:00 UTC (rev 197559)
@@ -1,3 +1,15 @@
+2014-06-06 Brady Eidson <[email protected]>
+
+ Initialize a char* that needs to be initialized.
+ <rdar://problem/15840022> and https://bugs.webkit.org/show_bug.cgi?id=133585
+
+ Reviewed by Mark Rowe.
+
+ r152134 (erroneously) removed this initialization.
+
+ * platform/sql/SQLiteStatement.cpp:
+ (WebCore::SQLiteStatement::prepare): tail should start out initialized to 0.
+
2016-03-02 Milan Crha <[email protected]>
Fix the build with VIDEO disabled.
Modified: releases/WebKitGTK/webkit-2.4/Source/WebCore/platform/sql/SQLiteStatement.cpp (197558 => 197559)
--- releases/WebKitGTK/webkit-2.4/Source/WebCore/platform/sql/SQLiteStatement.cpp 2016-03-04 13:01:29 UTC (rev 197558)
+++ releases/WebKitGTK/webkit-2.4/Source/WebCore/platform/sql/SQLiteStatement.cpp 2016-03-04 13:03:00 UTC (rev 197559)
@@ -71,7 +71,7 @@
// this lets SQLite avoid an extra string copy.
size_t lengthIncludingNullCharacter = query.length() + 1;
- const char* tail;
+ const char* tail = nullptr;
int error = sqlite3_prepare_v2(m_database.sqlite3Handle(), query.data(), lengthIncludingNullCharacter, &m_statement, &tail);
if (error != SQLITE_OK)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes