why are you e-mailing me this?

2jonathon at charter.net 2jonathon at charter.net
Sun Oct 8 19:08:18 PDT 2006


---- "Marian S. Asokarajan" <mail at sashi.de> wrote: 
> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"


More information about the freebsd-ports mailing list