[Mono-bugs] [Bug 48057][Nor] New - Swedish characters(едц) in directory names causes a System.NullReferenceException.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 30 Aug 2003 18:59:45 -0400 (EDT)

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 chaos@badf00d.org.


--- shadow/48057	2003-08-30 18:59:45.000000000 -0400
+++ shadow/48057.tmp.4000	2003-08-30 18:59:45.000000000 -0400
@@ -0,0 +1,58 @@
+Bug#: 48057
+Product: Mono/Runtime
+Version: unspecified
+OS: Debian Woody
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: chaos@badf00d.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Swedish characters(едц) in directory names causes a System.NullReferenceException.
+Description of Problem:
+Swedish characters in directory names causes DirectoryInfo:GetFiles() to 
+throw an System.NullReferenceException.
+Steps to reproduce the problem:
+1. Create a directory that containes directories/files with swedish 
+characters(едц) in them.
+2. Try to get a file listing using GetFiles()
+Actual Results:
+An System.NullReferenceException is throw, the following call stack is 
+in (unmanaged) /usr/lib/libmono.so.0 [0x4010a409]
+in (unmanaged) /usr/lib/libmono.so.0 [0x400cfe68]
+in <0x0002e> 06 System.IO.MonoIO:FindNextFile (intptr,System.IO.
+in <0x002f4> 00 System.IO.Directory:GetFileSystemEntries (string,string,
+in <0x0001a> 00 System.IO.Directory:GetFiles (string,string)
+in <0x00037> 00 System.IO.DirectoryInfo:GetFiles (string)
+in <0x00063> 08 System.IO.DirectoryInfo:GetFiles (string)
+How often does this happen? 
+Every time.
+Additional Information:
+mono                        0.26-1                      The Mono .NET 
+development environment
+mono-assemblies             0.26-1                      the Mono .NET class 
+mono-common                 0.26-1                      common files for 
+the Mono CLI runtimes
+mono-jit                    0.26-1                      a .NET runtime 
+mono-mcs                    0.26-1                      the Mono C# 
+mono-utils                  0.26-1                      Mono utilities