[Mono-bugs] [Bug 62263][Nor] Changed - [PATCH] invalid pointer array access

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 10 Aug 2004 04:46:58 -0400 (EDT)

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 overmind@gmx.net.


--- shadow/62263	2004-08-03 13:00:18.000000000 -0400
+++ shadow/62263.tmp.17187	2004-08-10 04:46:58.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 62263
 Product: Mono: Compilers
 Version: unspecified
 OS Details: 
-Status: RESOLVED   
+Status: REOPENED   
 Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: bmaurer@users.sf.net                            
 ReportedBy: overmind@gmx.net               
@@ -62,6 +62,16 @@
 Ben, can you please apply this patch, and add the relevant
 test cases?
 ------- Additional Comments From bmaurer@users.sf.net  2004-08-03 13:00 -------
 Fixed in HEAD and 1.0.
+------- Additional Comments From overmind@gmx.net  2004-08-10 04:46 -------
+The original bug is fixed, but the fix introduces a new bug:
+When making pointer arithmetic with a void* pointer, the pointer
+simply gets incremented by 0 bytes (sizeof void), but there should be
+a compiler error.
+The MS compiler gives the error message: "error CS0242: The operation
+in question is undefined on void pointers"