[Bug 28294] XPR108258.exe (csf player installer) crash

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Sep 29 13:56:03 CDT 2011


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

jhgf <bernhardloos at googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernhardloos at googlemail.com

--- Comment #5 from jhgf <bernhardloos at googlemail.com> 2011-09-29 13:56:03 CDT ---
it's a bug in wcsncpy_s: the native version happily accepts a NULL value for
src and interprets this as an empty string, so returning 0 instead of
MSVCRT_EINVAL fixes this.
Unfortunetly, the same is probably true for all the other string functions, so
somebody will have to write tests at least some of them and fix them up and
there are a bunch ...

-- 
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