[Mono-bugs] [Bug 420171] New: Passing or receiving NULL bstr on mono in linux causing crash.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Aug 25 16:25:17 EDT 2008


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 at lists.ximian.com
        ReportedBy: tom_hindle at sil.org
         QAContact: mono-bugs at 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.


More information about the mono-bugs mailing list