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

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Apr 29 10:13:57 CDT 2010


--- Comment #26 from Timur Iskhodzhanov <timurrrr at google.com>  2010-04-29 10:13:56 ---
They don't pass NULL to strlen in Chromium.

They pass NULL only to lstrlen in windows-specific code and expect 0 in this
case. They don't try to pass invalid non-NULL pointers.
I doubt they would accept additional "if()" branches to make Wine+Valgrind
happy. After all, they use the documented features of lstrlen and they do it

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