From 7de847c6eededa1bdc1c61068c0ab54d5c3160e2 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Thu, 10 Jan 2008 12:53:14 +0100 Subject: [PATCH] mshtml: Don't crash in before_async_open if there is no client site. --- dlls/mshtml/nsio.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c index 2568b35973a..cc4ea2fd430 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;