Title: [153226] trunk/Source/WTF
- Revision
- 153226
- Author
- [email protected]
- Date
- 2013-07-24 21:02:55 -0700 (Wed, 24 Jul 2013)
Log Message
fourthTier: Printing a StringImpl* should really guard against NULL
https://bugs.webkit.org/show_bug.cgi?id=117675
Reviewed by Mark Hahnenberg.
* wtf/PrintStream.cpp:
(WTF::printInternal):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (153225 => 153226)
--- trunk/Source/WTF/ChangeLog 2013-07-25 04:02:53 UTC (rev 153225)
+++ trunk/Source/WTF/ChangeLog 2013-07-25 04:02:55 UTC (rev 153226)
@@ -1,3 +1,13 @@
+2013-06-15 Filip Pizlo <[email protected]>
+
+ Printing a StringImpl* should really guard against NULL
+ https://bugs.webkit.org/show_bug.cgi?id=117675
+
+ Reviewed by Mark Hahnenberg.
+
+ * wtf/PrintStream.cpp:
+ (WTF::printInternal):
+
2013-06-11 Filip Pizlo <[email protected]>
fourthTier: DFG should support op_in and it should use patching to make it fast
Modified: trunk/Source/WTF/wtf/PrintStream.cpp (153225 => 153226)
--- trunk/Source/WTF/wtf/PrintStream.cpp 2013-07-25 04:02:53 UTC (rev 153225)
+++ trunk/Source/WTF/wtf/PrintStream.cpp 2013-07-25 04:02:55 UTC (rev 153226)
@@ -64,8 +64,10 @@
void printInternal(PrintStream& out, const StringImpl* string)
{
- if (!string)
+ if (!string) {
out.print("(null StringImpl*)");
+ return;
+ }
out.print(string->utf8());
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes