Clinton Stimpson wrote:
The following patch will fix the crash. MSDN documentation says "*lstrlen* assumes that /lpString/ is a null-terminated string, or NULL"
The inline lstrlenW is used only internally by Wine code, and we want it to crash when passed a NULL pointer. In this case, you should fix the Wine code calling lstrlenW to not use a NULL pointer.
Mike