Enlightenment CVS committal
Author : chaos
Project : e17
Module : apps/evfs
Dir : e17/apps/evfs/src/bin
Modified Files:
evfs_server_handle.c
Log Message:
* Oops - strncat on an unterminated string
===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/bin/evfs_server_handle.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -3 -r1.72 -r1.73
--- evfs_server_handle.c 20 Aug 2006 04:13:56 -0000 1.72
+++ evfs_server_handle.c 20 Aug 2006 09:42:09 -0000 1.73
@@ -535,6 +535,7 @@
/*Handle the root dir*/
if (strcmp(newdir_rewrite->path, "/")) {
newdir_rewrite->path[origlen] = '/';
+ newdir_rewrite->path[origlen+1] = '\0';
strncat(&newdir_rewrite->path[origlen+1],
pos+1, strlen(pos)-1);
} else {
strncat(&newdir_rewrite->path[origlen],
pos+1, strlen(pos)-1);
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs