From owner-freebsd-bugs Thu May 25 2:30: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1426237B5E8 for ; Thu, 25 May 2000 02:30:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA17886; Thu, 25 May 2000 02:30:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Thu, 25 May 2000 02:30:05 -0700 (PDT) Message-Id: <200005250930.CAA17886@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Alexander Langer Subject: Re: bin/18804: error in usr.bin/ftp/main.c ? Reply-To: Alexander Langer Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/18804; it has been noted by GNATS. From: Alexander Langer To: tludwig@urbanet.ch Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/18804: error in usr.bin/ftp/main.c ? Date: Thu, 25 May 2000 11:28:22 +0200 Also sprach tludwig@urbanet.ch (tludwig@urbanet.ch): > if (line[--num] == '\n') { > Unfortunately the string that should be checked is > pointed to by 'line', not 'buf'. It seems as if you are right. The following occurencies of line must be changed to buf then, too, up to the memcpy. Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message