bugDotGNU Portable.NET - Bugs: bug #14876, .NET and Mono allow mutation of...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #14876: .NET and Mono allow mutation of initonly fields via reflection

Submitter:  Invalid User ID <#44993>
Submitted:  Thu 27 Oct 2005 02:09:57 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Sat 29 Oct 2005 06:29:57 PM UTC, comment #1: 

patch committed to cvs 10/29/2005 Klaus

Klaus Treichel <ktreichel>
Group administrator
Thu 27 Oct 2005 02:09:57 PM UTC, original submission:  

.NET (both 1.1 and 2.0) and Mono allow mutation of initonly fields via reflection in violation of the ECMA CLI specification.

I've created an IL_CONFIG_ECMA option in the pnet module (thanks Klaus) and added it as a part of all existing profiles.

However I haven't added a profile that uses IL_CONFIG_ECMA=n and hence allows mutation of such fields.

Invalid User ID <#44993>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-10-29 ktreichel StatusNone Fixed
    Open/ClosedOpen Closed
2005-10-27 #44993 Attached File- Added reflecma.patch, #3067

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code