[Bug 3291] crash in Battlefield 1942 demo:msvcrt-bug?

Wine Bugs wine-bugs at winehq.org
Sun Oct 16 12:08:19 CDT 2005


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





------- Additional Comments From xerox_xerox2000 at yahoo.co.uk  2005-16-10 12:08 -------
Following patch fixes the crash:


--- dlls/msvcrt/cpp.c_  2005-10-17 19:07:43.000000000 +0000
+++ dlls/msvcrt/cpp.c   2005-10-17 19:08:10.000000000 +0000
@@ -594,7 +594,7 @@
     }
   }
   TRACE("(%p) returning %s\n", _this, _this->name);
-  return _this->name;
+  return _this;
 }

 /******************************************************************

I'm however not sure if this fix is really correct , could somebody familiar
with this code hava a look at this please? Thanks

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