[ubuntu-mono] [Bug 408499] Re: mono has a needlessly executable stack

Kees Cook kees at ubuntu.com
Thu Aug 6 15:54:56 BST 2009


It seems that mono actually does use the stack for execution, but only
when using the debugger.  :(

$ echo 'class MainClass { static void Main() { System.Console.WriteLine("Hello World!"); } }' > hello.cs
$ gmcs hello.cs
$ mdb ./hello.exe
Mono Debugger
(mdb) run
Starting program: ./hello.exe 
Cannot read symbol file `/usr/lib/mono/2.0/mscorlib.dll.mdb': Could not find file "/usr/lib/mono/2.0/mscorlib.dll.mdb".
Cannot read symbol file `/home/kees/hello.exe.mdb': Could not find file "/home/kees/hello.exe.mdb".
(mdb) Thread @1 received signal 11 at #0: 0xff87c909.
0xff87c909      push   $0xff87c932
quit
The program is running.  Exit anyway? (y or n) y
Thread @1 exited.
Process #1 exited.
Target exited.


** Changed in: mono (Ubuntu)
       Status: Fix Released => Confirmed

** Bug watch added: Debian Bug tracker #539807
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539807

** Also affects: mono (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539807
   Importance: Unknown
       Status: Unknown

-- 
mono has an executable stack
https://bugs.launchpad.net/bugs/408499
You received this bug notification because you are a member of MOTU Mono
Team, which is subscribed to mono in ubuntu.



More information about the Ubuntu-mono mailing list