[Mono-bugs] [Bug 77523][Nor] Changed - PtrToStructure(IntPtr, object) should throw exception if object is not formatted class

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Feb 10 15:20:48 EST 2006


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 vargaz at gmail.com.

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

--- shadow/77523	2006-02-10 14:09:08.000000000 -0500
+++ shadow/77523.tmp.1238	2006-02-10 15:20:48.000000000 -0500
@@ -109,6 +109,12 @@
 The attached patch fixes the problem, but exposes an invalid usage of the previous bug case 
 in ToLogFont in System.Drawing.  As such this patch should not be applied until ToLogFont is 
 fixed to avoid regressions.
 
 -kangaroo
 
+
+------- Additional Comments From vargaz at gmail.com  2006-02-10 15:20 -------
+That patch looks ok, a couple of comments:
+- t is not needed, dst->vtable->klass->valuetype contains the same info
+- a testcase should be added to tests/marshal8.cs.
+


More information about the mono-bugs mailing list