[Bug 22514] lstrlen is implemented incorrectly (dlls/kernel32/string.c)

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Apr 29 05:49:53 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=22514





--- Comment #20 from Dmitry Timoshkov <dmitry at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list