Hello,

here is patch for wu-ftpd's bad behaivior on it's internal ls function.


--- src/ftpd.c  Thu Nov 29 17:56:11 2001
+++ src/ftpd.c.sas      Wed Oct  4 20:55:46 2006
@@ -3508,7 +3508,7 @@
 {
     char *a;
     a = (char *) malloc(len + 1);
-    memset(a, ' ', len-1);
+    memset(a, ' ', len);
     a[len] = 0;
     if (strlen(s) <= len)
        memcpy(a, s, strlen(s));


Although the daemon is outdated, I thougth it might be useful to someone.


Best Regards,
Marian S. Asokarajan
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to