[Mono-bugs] [Bug 69972][Cri] Changed - [PPC] crashbug passing big struct by value

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 7 Dec 2004 06:31:24 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by lupus@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=69972

--- shadow/69972	2004-12-02 17:45:40.000000000 -0500
+++ shadow/69972.tmp.7798	2004-12-07 06:31:24.000000000 -0500
@@ -1,13 +1,13 @@
 Bug#: 69972
 Product: Mono: Runtime
 Version: 1.0
 OS: unknown
 OS Details: Mac os x 10.3.5 mono 1.1.2 and 1.0.2
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Critical
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: joe@otee.dk               
 QAContact: mono-bugs@ximian.com
@@ -105,6 +105,12 @@
 
   Attached above is a patch to realloc for the memcpy;  I'm not sure this is ideal due to 
 realloc cost; but it does solve the issue.  Thoughts?
 
 -kangaroo
 
+
+------- Additional Comments From lupus@ximian.com  2004-12-07 06:31 -------
+As we discussed on irc, the correct fix is to inline a memcpy
+loop, otherwise the prolog would get arbitrarily large.
+I implemented this on svn, now.
+Thanks for tracking down the issue.