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

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


The following commit has been merged in the debian/unstable branch:
commit c41671bd0458a87b7da12e552b427ce7c6e0207a
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon May 5 17:22:49 2003 +0000

            Reviewed by John.
    
            - fixed replaceOccurrencesOfString crash reported in bug 3247249 (not what the bug is about)
    
            * kwq/KWQTextArea.mm: (-[KWQTextArea text]): Use the length of the replaced text.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4276 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index d9dd7e9..bc74282 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,11 @@
+2003-05-05  Darin Adler  <darin at apple.com>
+
+        Reviewed by John.
+
+        - fixed replaceOccurrencesOfString crash reported in bug 3247249 (not what the bug is about)
+
+        * kwq/KWQTextArea.mm: (-[KWQTextArea text]): Use the length of the replaced text.
+
 2003-05-04  Darin Adler  <darin at apple.com>
 
         Reviewed by John.
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index d9dd7e9..bc74282 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,11 @@
+2003-05-05  Darin Adler  <darin at apple.com>
+
+        Reviewed by John.
+
+        - fixed replaceOccurrencesOfString crash reported in bug 3247249 (not what the bug is about)
+
+        * kwq/KWQTextArea.mm: (-[KWQTextArea text]): Use the length of the replaced text.
+
 2003-05-04  Darin Adler  <darin at apple.com>
 
         Reviewed by John.
diff --git a/WebCore/kwq/KWQTextArea.mm b/WebCore/kwq/KWQTextArea.mm
index c2a4af5..5b1e027 100644
--- a/WebCore/kwq/KWQTextArea.mm
+++ b/WebCore/kwq/KWQTextArea.mm
@@ -190,9 +190,9 @@ const float LargeNumberForText = 1.0e7;
         NSMutableString *mutableText = [[text mutableCopy] autorelease];
     
         [mutableText replaceOccurrencesOfString:@"\r\n" withString:@"\n"
-            options:NSLiteralSearch range:NSMakeRange(0, [text length])];
+            options:NSLiteralSearch range:NSMakeRange(0, [mutableText length])];
         [mutableText replaceOccurrencesOfString:@"\r" withString:@"\n"
-            options:NSLiteralSearch range:NSMakeRange(0, [text length])];
+            options:NSLiteralSearch range:NSMakeRange(0, [mutableText length])];
         
         text = mutableText;
     }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list