axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r477521 - /webservices/axis2/trunk/c/util/src/platforms/windows/dir_windows.c
Date Tue, 21 Nov 2006 05:59:29 GMT
Author: samisa
Date: Mon Nov 20 21:59:29 2006
New Revision: 477521

URL: http://svn.apache.org/viewvc?view=rev&rev=477521
Log:
Fixed the array bounds problem

Modified:
    webservices/axis2/trunk/c/util/src/platforms/windows/dir_windows.c

Modified: webservices/axis2/trunk/c/util/src/platforms/windows/dir_windows.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/platforms/windows/dir_windows.c?view=diff&rev=477521&r1=477520&r2=477521
==============================================================================
--- webservices/axis2/trunk/c/util/src/platforms/windows/dir_windows.c (original)
+++ webservices/axis2/trunk/c/util/src/platforms/windows/dir_windows.c Mon Nov 20 21:59:29
2006
@@ -192,7 +192,7 @@
             continue;
         }
 
-        if (nfiles == vector_size)
+        if ((nfiles + 1) == vector_size)
         {
             struct dirent **newv;
             if (vector_size == 0)



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message