[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

simon.fraser at apple.com simon.fraser at apple.com
Wed Dec 22 13:27:09 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 83974bb58a6d800ca7e26f5f8b197572ded03e75
Author: simon.fraser at apple.com <simon.fraser at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Sep 15 23:51:06 2010 +0000

    2010-09-15  Simon Fraser  <simon.fraser at apple.com>
    
            https://bugs.webkit.org/show_bug.cgi?id=45849
            WKURLCreateWithCFURL crashes with null url
    
            Fix MiniBrowser crash when the url is not parseable.
    
            * MiniBrowser/mac/BrowserWindowController.m:
            (-[BrowserWindowController fetch:]):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67580 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index 1024b96..2393228 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -1,3 +1,13 @@
+2010-09-15  Simon Fraser  <simon.fraser at apple.com>
+
+        https://bugs.webkit.org/show_bug.cgi?id=45849
+        WKURLCreateWithCFURL crashes with null url
+        
+        Fix MiniBrowser crash when the url is not parseable.
+
+        * MiniBrowser/mac/BrowserWindowController.m:
+        (-[BrowserWindowController fetch:]):
+
 2010-09-15  Patrick Gansterer  <paroga at paroga.com>
 
         Unreviewed.
diff --git a/WebKitTools/MiniBrowser/mac/BrowserWindowController.m b/WebKitTools/MiniBrowser/mac/BrowserWindowController.m
index 43351e5..162d99a 100644
--- a/WebKitTools/MiniBrowser/mac/BrowserWindowController.m
+++ b/WebKitTools/MiniBrowser/mac/BrowserWindowController.m
@@ -61,6 +61,9 @@
 - (IBAction)fetch:(id)sender
 {
     CFURLRef cfURL = CFURLCreateWithString(0, (CFStringRef)[urlText stringValue], 0);
+    if (!cfURL)
+        return;
+
     WKURLRef url = WKURLCreateWithCFURL(cfURL);
     CFRelease(cfURL);
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list