[Mono-bugs] [Bug 320036] memory for DynamicMethods should not be malloced

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 8 07:04:38 EDT 2008


User aras at unity3d.com added comment

Aras Pranckevicius <aras at unity3d.com> changed:

           What    |Removed                                         |Added
                 CC|                                                |aras at unity3d.com

--- Comment #2 from Aras Pranckevicius <aras at unity3d.com>  2008-04-08 05:04:37 MST ---
Expanding on DEP problem on Windows:

For dynamic methods, mono-codeman allocates memory using malloc (which does not
set proper execute bits on Windows).

Additionally, a call to mono_mprotect is never made on Windows in that case
(#ifdef'd out), so trying to execute that code with DEP on results in access
violation. I can't tell from the log why #ifdef was added there (it just says
"don't call mono_mprotect on windows", svn rev. 71629).

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list