[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ProFTPD] Fix for 1.2.0pre5. (fwd)
i love clueless sysadmins
---------------------------------------------
Pete Fritchman [email protected]
Netreach www.netreach.net
System Administrator
Just remember: UNIX spelled backwards is XINU.
---------- Forwarded message ----------
Date: Thu, 9 Sep 1999 08:32:22 -0700 (PDT)
From: Nemo <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: [ProFTPD] Fix for 1.2.0pre5.
Resent-Date: Thu, 9 Sep 1999 10:38:24 -0500
Resent-From: [email protected]
On Wed, 8 Sep 1999, MacGyver wrote:
Anybody, so I understand the - line replaced with + line but I don't think
that you change them manually? Is there a utility that would change
the source?
Thanks.
> Here's the fix, this should correct the bug reported...sorry, I was on a
> plane most of today...fun fun fun. :) At least it gave me a chance to stare
> at this long enough to see the silly mistake.
>
> Mac.
>
>
> --- support.c 1999/09/07 23:29:07 1.4
> +++ support.c 1999/09/09 03:18:46 1.5
> @@ -19,7 +19,7 @@
>
> /* Various basic support routines for ProFTPD, used by all modules
> * and not specific to one or another.
> - * $Id: msg00167.html,v 1.1 2000/04/25 15:51:35 mph Exp $
> + * $Id: msg00167.html,v 1.1 2000/04/25 15:51:35 mph Exp $
> */
>
> /* History Log:
> @@ -607,7 +607,7 @@
> rlen = strlen(*rptr);
>
> if(strncmp(src,*mptr,mlen) == 0) {
> - strncpy(cp,*rptr,sizeof(buf) - strlen(cp));
> + strncpy(cp,*rptr,sizeof(buf) - strlen(buf));
> cp += rlen;
> src += mlen;
> break;
>
> --
> To unsubscribe, send mail to [email protected] with "unsubscribe"
> in the subject field of the message.
>
>
===
This message was sent to mph-humor. No guarantees of actual humor are
provided. Archives and instructions are available from
<http://www.pobox.com/~mph/humor/>.