Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80904 --- shadow/80904 2007-02-19 17:25:42.000000000 -0500 +++ shadow/80904.tmp.7989 2007-02-19 17:25:42.000000000 -0500 @@ -0,0 +1,40 @@ +Bug#: 80904 +Product: Mono: Class Libraries +Version: 1.0 +OS: other +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Wishlist +Component: System +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: [System.Globalization.CompareInfo] Compare() crashes when comparing null strings + +Please fill in this template when reporting a bug, unless you know what you are doing. +Description of Problem: +When Microsoft's implementation of CompareInfo.Compare receives null as a parameter, it treats +it as the empty string. Mono's implementation throws a null reference exception. + + +Steps to reproduce the problem: +1. Use System.Globalization.CultureInfo.InvariantCulture.CompareInfo.Compare() to compare a +non-null string to null, or to compare null to null. +2. Watch the crash +3. + +Actual Results: +NullReferenceException + +Expected Results: +The parameter should be treated as the empty string + +How often does this happen? +Always + +Additional Information: _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
