[Bug 4949] Wine crashes when attempting to run Armada II

Wine Bugs wine-bugs at winehq.org
Wed Mar 29 06:50:06 CST 2006


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





------- Additional Comments From wijn at wanadoo.nl  2006-29-03 06:50 -------
Right, I should have typed make :((( 

This one does compile, does it work?

--- wine/dlls/msvcrt/undname.c	2006-03-06 11:52:16.000000000 +0100
+++ mywine/dlls/msvcrt/undname.c	2006-03-29 14:45:56.000000000 +0200
@@ -1233,8 +1233,7 @@ char* __unDNameEx(char* buffer, const ch
     result = symbol_demangle(&sym) ? sym.result : mangled;
     if (buffer && buflen)
     {
-        memcpy(buffer, result, buflen - 1);
-        buffer[buflen - 1] = '\0';
+        lstrcpynA( buffer, result, buflen);
     }
     else
     {

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list