Commit d62f0f5e authored by Qian Hong's avatar Qian Hong Committed by Alexandre Julliard

mshtml: Don't pass NULL string pointer to jscript engine.

parent fec49d11
......@@ -739,7 +739,7 @@ static void parse_extern_script(ScriptHost *script_host, LPCWSTR src)
hres = bind_mon_to_wstr(script_host->window, mon, &text);
IMoniker_Release(mon);
if(FAILED(hres))
if(FAILED(hres) || !text)
return;
parse_text(script_host, text);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment