From owner-freebsd-bugs Wed Feb 28 19:44:30 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA17889 for bugs-outgoing; Wed, 28 Feb 1996 19:44:30 -0800 (PST) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id TAA17884 for ; Wed, 28 Feb 1996 19:44:26 -0800 (PST) Received: from caramba.cs.tu-berlin.de (wosch@caramba.cs.tu-berlin.de [130.149.17.12]) by mail.cs.tu-berlin.de (8.6.12/8.6.12) with ESMTP id EAA02468; Thu, 29 Feb 1996 04:39:06 +0100 Received: (from wosch@localhost) by campa.panke.de (8.6.9/8.6.9) id EAA01570; Thu, 29 Feb 1996 04:35:14 +0100 Date: Thu, 29 Feb 1996 04:35:14 +0100 From: Wolfram Schneider Message-Id: <199602290335.EAA01570@campa.panke.de> To: batie@agora.rdrop.com (Alan Batie) CC: bugs@freebsd.org In-reply-to: batie@agora.rdrop.com's message of Wed, 28 Feb 1996 09:42:17 -0800 (PST) Subject: Re: vi core dump Reply-to: Wolfram Schneider MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit References: Sender: owner-bugs@freebsd.org Precedence: bulk In article batie@agora.rdrop.com (Alan Batie) writes: >The following sequence will cause vi to core dump: > > vi > 0 5 * * * ~ba or '~a', '~i' Fix: --- 1.1 1996/02/29 03:10:46 +++ vi/v_ulcase.c 1996/02/29 03:27:57 @@ -84,6 +84,7 @@ u_long cnt; char *p; + len = 0; lno = vp->m_start.lno; cno = vp->m_start.cno; Wolfram (happy Emacs user)