http://bugs.winehq.org/show_bug.cgi?id=22514
--- Comment #20 from Dmitry Timoshkov dmitry@codeweavers.com 2010-04-29 05:49:53 --- (In reply to comment #15)
And yes, some applications expect an exception when they call lstrlen(NULL), and do handle that on their own.
Dmitry, can you please give an example?
I don't remember which one relies on that.
Created an attachment (id=27612)
--> (http://bugs.winehq.org/attachment.cgi?id=27612) [details]
lstrlenW disassembly (got it using MS VS debugger)
Don't do that, that's illegal, especially in the Wine context.