From owner-freebsd-bugs Thu Sep 7 3: 0: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2F6EC37B423 for ; Thu, 7 Sep 2000 03:00:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA92104; Thu, 7 Sep 2000 03:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id E8B8037B422; Thu, 7 Sep 2000 02:50:34 -0700 (PDT) Message-Id: <20000907095034.E8B8037B422@hub.freebsd.org> Date: Thu, 7 Sep 2000 02:50:34 -0700 (PDT) From: lfrigault@teaser.fr To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/21089: vi silently corrupt open file on SIGINT when entering :wq in command mode Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21089 >Category: misc >Synopsis: vi silently corrupt open file on SIGINT when entering :wq in command mode >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 07 03:00:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Laurent Frigault >Release: 4.1-STABLE >Organization: France Teaser >Environment: FreeBSD becile.teaser.fr 4.1-STABLE FreeBSD 4.1-STABLE #12: Mon Aug 21 20:26:08 CEST 2000 lfrigault@becile.teaser.fr:/usr/src/sys/compile/BECILE i386 >Description: The version of vi that come with FreeBSD 4.1 can silently corrupt files on SIGINT when typing :wq in command mode >How-To-Repeat: 1/ open a file (~70K) 2/ in command mode enter :wq without validating with return 3/ in an other term, killall -INT vi 4/ vi terminate silently and the file is corrupted. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message