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

hyatt hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:48:39 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 79d8e2ea23ebf9719c8a46a56cdab4919bd2b26a
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Jul 25 10:27:37 2003 +0000

    	Fix for 3343527, crash when attempting to access rules in the CSS OM.
    	Our KWQListImpl doesn't null check accesses, so anything out
    	of bounds would cause a crash.
    
            Reviewed by mjs
    
            * kwq/KWQListImpl.mm:
            (KWQListImpl::at):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4710 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 0c2002a..e7a6f56 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,14 @@
+2003-07-25  Dave Hyatt  <hyatt at apple.com>
+
+	Fix for 3343527, crash when attempting to access rules in the CSS OM.
+	Our KWQListImpl doesn't null check accesses, so anything out
+	of bounds would cause a crash.
+	
+        Reviewed by mjs
+
+        * kwq/KWQListImpl.mm:
+        (KWQListImpl::at):
+
 2003-07-25  Maciej Stachowiak  <mjs at apple.com>
 
         Reviewed by Dave.
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 0c2002a..e7a6f56 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,14 @@
+2003-07-25  Dave Hyatt  <hyatt at apple.com>
+
+	Fix for 3343527, crash when attempting to access rules in the CSS OM.
+	Our KWQListImpl doesn't null check accesses, so anything out
+	of bounds would cause a crash.
+	
+        Reviewed by mjs
+
+        * kwq/KWQListImpl.mm:
+        (KWQListImpl::at):
+
 2003-07-25  Maciej Stachowiak  <mjs at apple.com>
 
         Reviewed by Dave.
diff --git a/WebCore/kwq/KWQListImpl.mm b/WebCore/kwq/KWQListImpl.mm
index 0d06b84..e77309b 100644
--- a/WebCore/kwq/KWQListImpl.mm
+++ b/WebCore/kwq/KWQListImpl.mm
@@ -211,7 +211,7 @@ void *KWQListImpl::at(uint n)
     }
 
     cur = node;
-    return node->data;
+    return node ? node->data : 0;
 }
 
 bool KWQListImpl::insert(uint n, const void *item)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list