Jacek Caban : mshtml: Don' t crash in before_async_open if there is no client site.
Alexandre Julliard
julliard at winehq.org
Thu Jan 10 06:42:10 CST 2008
Module: wine
Branch: master
Commit: 7de847c6eededa1bdc1c61068c0ab54d5c3160e2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7de847c6eededa1bdc1c61068c0ab54d5c3160e2
Author: Jacek Caban <jacek at codeweavers.com>
Date: Thu Jan 10 12:53:14 2008 +0100
mshtml: Don't crash in before_async_open if there is no client site.
---
dlls/mshtml/nsio.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c
index 2568b35..cc4ea2f 100644
--- a/dlls/mshtml/nsio.c
+++ b/dlls/mshtml/nsio.c
@@ -116,6 +116,9 @@ static BOOL before_async_open(nsChannel *channel, NSContainer *container)
doc = container_iter->doc;
}
+ if(!doc->client)
+ return TRUE;
+
if(!hlnf && !exec_shldocvw_67(doc, uri))
return FALSE;
More information about the wine-cvs
mailing list