From owner-cvs-all Thu Jul 19 4: 2:15 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3EA9A37B401; Thu, 19 Jul 2001 04:02:12 -0700 (PDT) (envelope-from dd@FreeBSD.org) Received: (from dd@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6JB2C885105; Thu, 19 Jul 2001 04:02:12 -0700 (PDT) (envelope-from dd) Message-Id: <200107191102.f6JB2C885105@freefall.freebsd.org> From: Dima Dorfman Date: Thu, 19 Jul 2001 04:02:11 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/nvi/vi vs_refresh.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dd 2001/07/19 04:02:11 PDT Modified files: contrib/nvi/vi vs_refresh.c Log: Fix an underflow resulting from the assumption !O_ISSET(sp, O_LEFTRIGHT) (ironically, the assumption is in a code block which is conditional on its converse). This isn't strictly the correct fix; it's more of a workaround to prevent an infinite loop. The correct fix (see ports/editors/nvi-devel/files/patch-vi-relative r1.1) would take a file off the vendor branch, but since the result for this version of nvi is identical, this route was elected. PR: 28687 Approved by: -developers Revision Changes Path 1.3 +5 -1 src/contrib/nvi/vi/vs_refresh.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message