[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

sullivan sullivan at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:50:25 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 6227536b7533f9e166f0162d515ee1fc037eefda
Author: sullivan <sullivan at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Aug 6 22:25:04 2003 +0000

    	- fixed 3366587 -- Mail quits instantly (no crashlog) trying
    	to reply to a particular message
    
            Reviewed by Richard
    
            * kwq/KWQKHTMLPart.mm:
            (KWQKHTMLPart::attributedString):
    	Return nil immediately if startNode is nil.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4778 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 9bcd1d1..7fd985f 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,14 @@
+2003-08-06  John Sullivan  <sullivan at apple.com>
+
+	- fixed 3366587 -- Mail quits instantly (no crashlog) trying
+	to reply to a particular message
+
+        Reviewed by Richard
+
+        * kwq/KWQKHTMLPart.mm:
+        (KWQKHTMLPart::attributedString):
+	Return nil immediately if startNode is nil.
+
 2003-08-06  Maciej Stachowiak  <mjs at apple.com>
 
         Reviewed by Chris Blumenberg.
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 9bcd1d1..7fd985f 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,14 @@
+2003-08-06  John Sullivan  <sullivan at apple.com>
+
+	- fixed 3366587 -- Mail quits instantly (no crashlog) trying
+	to reply to a particular message
+
+        Reviewed by Richard
+
+        * kwq/KWQKHTMLPart.mm:
+        (KWQKHTMLPart::attributedString):
+	Return nil immediately if startNode is nil.
+
 2003-08-06  Maciej Stachowiak  <mjs at apple.com>
 
         Reviewed by Chris Blumenberg.
diff --git a/WebCore/kwq/KWQKHTMLPart.mm b/WebCore/kwq/KWQKHTMLPart.mm
index 3374206..d6d72cd 100644
--- a/WebCore/kwq/KWQKHTMLPart.mm
+++ b/WebCore/kwq/KWQKHTMLPart.mm
@@ -1841,6 +1841,10 @@ static DOM::NodeImpl * inList(DOM::NodeImpl *e)
 
 NSAttributedString *KWQKHTMLPart::attributedString(NodeImpl *_startNode, int startOffset, NodeImpl *endNode, int endOffset)
 {
+    if (_startNode == nil) {
+        return nil;
+    }
+    
     NSMutableAttributedString *result = [[[NSMutableAttributedString alloc] init] autorelease];
 
     bool hasNewLine = true;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list