[Mono-bugs] [Bug 78891][Wis] New - [2.0] Runtime should throw AccessViolationException instead of NullReferenceException when trying to read/write memory without permission

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jul 18 15:24:21 EDT 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 kornelpal at gmail.com.

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

--- shadow/78891	2006-07-18 15:24:21.000000000 -0400
+++ shadow/78891.tmp.16090	2006-07-18 15:24:21.000000000 -0400
@@ -0,0 +1,24 @@
+Bug#: 78891
+Product: Mono: Runtime
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: kornelpal at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [2.0] Runtime should throw AccessViolationException instead of NullReferenceException when trying to read/write memory without permission
+
+See http://msdn2.microsoft.com/en-
+us/library/system.accessviolationexception.aspx
+
+Also note that there is configuration support in MS.NET 2.0 to fall back 
+to 1.x behavior (NullReferenceException):
+http://msdn2.microsoft.com/en-us/library/ms229296.aspx


More information about the mono-bugs mailing list