[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:18:42 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 70d94889a2511b13576788a9af736c311403b22b
Author: sullivan <sullivan at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Jan 3 22:05:38 2003 +0000

    	- fixed 3138673 -- reproducible crash in JavaScript
    
            Reviewed by Darin, OK'ed by Don.
    
            * khtml/xml/dom_docimpl.cpp:
            (DocumentImpl::setTitle):
    	Check for nil view or nil part before dereferencing.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3248 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 8eb157f..fc6b5d9 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,13 @@
+2003-01-03  John Sullivan  <sullivan at apple.com>
+	
+	- fixed 3138673 -- reproducible crash in JavaScript
+
+        Reviewed by Darin, OK'ed by Don.
+
+        * khtml/xml/dom_docimpl.cpp:
+        (DocumentImpl::setTitle):
+	Check for nil view or nil part before dereferencing.
+
 2003-01-03  David Hyatt  <hyatt at apple.com>
 
 	Fix for percentage table heights.  A check was missing to
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 8eb157f..fc6b5d9 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,13 @@
+2003-01-03  John Sullivan  <sullivan at apple.com>
+	
+	- fixed 3138673 -- reproducible crash in JavaScript
+
+        Reviewed by Darin, OK'ed by Don.
+
+        * khtml/xml/dom_docimpl.cpp:
+        (DocumentImpl::setTitle):
+	Check for nil view or nil part before dereferencing.
+
 2003-01-03  David Hyatt  <hyatt at apple.com>
 
 	Fix for percentage table heights.  A check was missing to
diff --git a/WebCore/khtml/xml/dom_docimpl.cpp b/WebCore/khtml/xml/dom_docimpl.cpp
index ecc6691..12a8bc9 100644
--- a/WebCore/khtml/xml/dom_docimpl.cpp
+++ b/WebCore/khtml/xml/dom_docimpl.cpp
@@ -528,6 +528,9 @@ void DocumentImpl::setTitle(DOMString _title)
 {
     m_title = _title;
 
+    if (!view() || !view()->part())
+        return;
+
 #if APPLE_CHANGES
     KWQ(view()->part())->setTitle(_title);
 #else

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list