Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Oct 2006 19:08:15 -0700
From:      <2jonathon@charter.net>
To:        mail@sashi.de, freebsd-ports@freebsd.org
Subject:   Re:  why are you e-mailing me this?
Message-ID:  <1193534543.1160359695057.JavaMail.root@fepweb02>

next in thread | raw e-mail | index | archive | help
---- "Marian S. Asokarajan" <mail@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1193534543.1160359695057.JavaMail.root>