[Mono-bugs] [Bug 641915] Security hole: Mono should not search current directory for DLLs
    bugzilla_noreply at novell.com 
    bugzilla_noreply at novell.com
       
    Sun Sep 26 12:32:02 EDT 2010
    
    
  
https://bugzilla.novell.com/show_bug.cgi?id=641915
https://bugzilla.novell.com/show_bug.cgi?id=641915#c2
Miguel de Icaza <miguel at novell.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |miguel at novell.com
         Resolution|                            |FIXED
--- Comment #2 from Miguel de Icaza <miguel at novell.com> 2010-09-26 16:32:01 UTC ---
Sample program:
gcc -shared -fPIC ex.c -o /tmp/libex.so
gmcs a.cs
cd
mono /tmp/ex.exe  // this fails
cd /tmp
mono ex.exe // this runs
-------
// a.cs
using System.Runtime.InteropServices;
class X {
[DllImport ("ex")]
extern static void stuff ();
static void Main ()
{
stuff ();
}
}
// ex.c 
void stuff ()
{
printf ("hola\n");
}
-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
    
    
More information about the mono-bugs
mailing list