[Bug 4949] Wine crashes when attempting to run Armada II
Wine Bugs
wine-bugs at winehq.org
Wed Mar 29 01:31:12 CST 2006
http://bugs.winehq.org/show_bug.cgi?id=4949
------- Additional Comments From wijn at wanadoo.nl 2006-29-03 01:31 -------
Does this patch help?
--- wine/dlls/msvcrt/undname.c 2006-03-06 11:52:16.000000000 +0100
+++ mywine/dlls/msvcrt/undname.c 2006-03-29 09:16:55.000000000 +0200
@@ -1233,7 +1233,7 @@ char* __unDNameEx(char* buffer, const ch
result = symbol_demangle(&sym) ? sym.result : mangled;
if (buffer && buflen)
{
- memcpy(buffer, result, buflen - 1);
+ strncpy(buffer, result, buflen - 1);
buffer[buflen - 1] = '\0';
}
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