commit | faf0b6bb2ae6de9796d3be58bcf4ca0c82d120b9 | [log] [tgz] |
---|---|---|
author | Jacek Caban <jacek@codeweavers.com> | Tue Oct 27 21:10:22 2009 +0100 |
committer | Alexandre Julliard <julliard@winehq.org> | Wed Oct 28 11:11:36 2009 +0100 |
tree | 5898bb657e97e01cc948b74cdbbafc918f6b2c4c | |
parent | 361f9a30ba9a36716c29fced6dc1da10d235a2f5 [diff] |
mshtml: Avoid crash in nsIURI:Equals if other_url is NULL.
diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c index 94004ab..b36f3fc 100644 --- a/dlls/mshtml/nsio.c +++ b/dlls/mshtml/nsio.c
@@ -1754,7 +1754,7 @@ } nsIWineURI_GetWineURL(wine_uri, &other_url); - *_retval = !UrlCompareW(This->wine_url, other_url, TRUE); + *_retval = other_url && !UrlCompareW(This->wine_url, other_url, TRUE); nsIWineURI_Release(wine_uri); return NS_OK;