http://bugs.winehq.org/show_bug.cgi?id=27340
Summary: WoW Launcher crashes, NULL pointer dereferenced Product: Wine Version: 1.3.21 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: mshtml AssignedTo: wine-bugs@winehq.org ReportedBy: rankincj@yahoo.com
This bug started happening at about the same time as the 1.3.21 release. What is happening is that the get_script_guid() function in dlls/mshtml/script.c is being passed nsscript=NULL. This function contains the line:
nsres = nsIDOMHTMLScriptElement_GetType(nsscript, &val_str);
where nsIDOMHTMLScriptElement_GetType() is really a macro defined as:
#define nsIDOMHTMLScriptElement_GetType(This,aType) (This)->lpVtbl->GetType(This,aType)
So being passed NULL for This is a "Bad Thing", obviously.
I have no idea *why* nsscript is NULL suddenly; presumably doc_insert_script() is being passed NULL.