Title: [185148] trunk/Source/WebCore
Revision
185148
Author
gyuyoung....@webkit.org
Date
2015-06-02 23:58:44 -0700 (Tue, 02 Jun 2015)

Log Message

[EFL][GTK] Fix build error since r185137
https://bugs.webkit.org/show_bug.cgi?id=145596

Unreviewed, fix build break on EFL and GTK port.

* dom/Text.cpp:
(WebCore::Text::formatForDebugger): Use strncpy() instead of strlcpy().

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (185147 => 185148)


--- trunk/Source/WebCore/ChangeLog	2015-06-03 06:44:45 UTC (rev 185147)
+++ trunk/Source/WebCore/ChangeLog	2015-06-03 06:58:44 UTC (rev 185148)
@@ -1,3 +1,13 @@
+2015-06-02  Gyuyoung Kim  <gyuyoung....@webkit.org>
+
+        [EFL][GTK] Fix build error since r185137
+        https://bugs.webkit.org/show_bug.cgi?id=145596
+
+        Unreviewed, fix build break on EFL and GTK port.
+
+        * dom/Text.cpp:
+        (WebCore::Text::formatForDebugger): Use strncpy() instead of strlcpy().
+
 2015-06-02  Sergio Villar Senin  <svil...@igalia.com>
 
         [CSS Grid Layout] Switch from parenthesis to brackets for grid line names

Modified: trunk/Source/WebCore/dom/Text.cpp (185147 => 185148)


--- trunk/Source/WebCore/dom/Text.cpp	2015-06-03 06:44:45 UTC (rev 185147)
+++ trunk/Source/WebCore/dom/Text.cpp	2015-06-03 06:58:44 UTC (rev 185148)
@@ -235,7 +235,7 @@
         result.append('"');
     }
 
-    strlcpy(buffer, result.toString().utf8().data(), length);
+    strncpy(buffer, result.toString().utf8().data(), length);
 }
 #endif
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to