From owner-freebsd-questions Fri Mar 8 11:41:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from roc-66-66-72-6.rochester.rr.com (roc-66-66-72-6.rochester.rr.com [66.66.72.6]) by hub.freebsd.org (Postfix) with ESMTP id 9685D37B423 for ; Fri, 8 Mar 2002 11:41:01 -0800 (PST) Received: by roc-66-66-72-6.rochester.rr.com (Postfix, from userid 1000) id EEA76901A1D; Fri, 8 Mar 2002 14:40:19 -0500 (EST) Date: Fri, 8 Mar 2002 14:40:19 -0500 From: mpd To: Lord Raiden Cc: questions@freebsd.org Subject: Re: One off error?? Message-ID: <20020308144019.A2134@rochester.rr.com> References: <4.2.0.58.20020308142742.0095b4d0@pop.netzero.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <4.2.0.58.20020308142742.0095b4d0@pop.netzero.net>; from raiden23@netzero.net on Fri, Mar 08, 2002 at 02:28:41PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Mar 08, 2002 at 02:28:41PM -0500, Lord Raiden wrote: > HI all. I hate to sound stupid on this, but I'm no programming guru. I > was reading up on the problems with the OpenSSH exploit found and someone > mentioned about it being a one-off error. What is that? I'm curious. Thanks. An error which is 'wrong' by 1 unit. Things like loops running one too many times, or one less than the correct number, or forgetting to add an extra slot for the '\0' when mallocing a buffer are all examples. Take a look at the patch. It's not difficult to see if you know a programming language. -- ___________________________________________________________ "'DOG ON FIRE' IS MY FAVORITE GAME!!!" - Little Girl from "MY FAVORITE BOARD GAME" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message