Author: spouliot
Date: 2005-03-13 21:35:10 -0500 (Sun, 13 Mar 2005)
New Revision: 41779

Modified:
   branches/mono-1-0/mono/mono/metadata/ChangeLog
   branches/mono-1-0/mono/mono/metadata/process.c
Log:
2005-03-13  Sebastien Pouliot  <[EMAIL PROTECTED]>

        * process.c: Fix buffer length in ves_icall_System_Diagnostics_Process
        _ProcessName_internal.



Modified: branches/mono-1-0/mono/mono/metadata/ChangeLog
===================================================================
--- branches/mono-1-0/mono/mono/metadata/ChangeLog      2005-03-14 02:30:12 UTC 
(rev 41778)
+++ branches/mono-1-0/mono/mono/metadata/ChangeLog      2005-03-14 02:35:10 UTC 
(rev 41779)
@@ -1,3 +1,8 @@
+2005-03-13  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * process.c: Fix buffer length in ves_icall_System_Diagnostics_Process
+       _ProcessName_internal.
+
 2005-03-04  Zoltan Varga  <[EMAIL PROTECTED]>
 
        * object.c (mono_load_remote_field_new): Fix returning uninitialized

Modified: branches/mono-1-0/mono/mono/metadata/process.c
===================================================================
--- branches/mono-1-0/mono/mono/metadata/process.c      2005-03-14 02:30:12 UTC 
(rev 41778)
+++ branches/mono-1-0/mono/mono/metadata/process.c      2005-03-14 02:35:10 UTC 
(rev 41779)
@@ -1013,7 +1013,7 @@
                return(NULL);
        }
        
-       len=GetModuleBaseName (process, mod, name, sizeof(name));
+       len=GetModuleBaseName (process, mod, name, MAX_PATH);
        if(len==0) {
                return(NULL);
        }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to