https://bugzilla.novell.com/show_bug.cgi?id=420171


           Summary: Passing or receiving NULL bstr on mono in linux causing
                    crash.
           Product: Mono: Runtime
           Version: SVN
          Platform: x86
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: interop
        AssignedTo: mono-bugs@lists.ximian.com
        ReportedBy: [EMAIL PROTECTED]
         QAContact: mono-bugs@lists.ximian.com
          Found By: ---


SVN rev 111418

Passing or receiving a NULL bstr on mono in Linux causing crash.

For example the following calls to mono internal functions will crash.
/* causes crash: null string to bstr works in .NET */
 mono_string_to_bstr(NULL);

/* causes crash: converting a null bstr to string works on .NET*/ 
 mono_string_from_bstr(NULL);

Please note that this is only a problem on Linux.

Although mono tests have a test for this in cominterop.cs and libtest.c, it is
only tested on windows, as it's WIN32ed out in libtest.c and not attempted to
be run in cominterop.cs.


-- 
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.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to