From owner-freebsd-stable@FreeBSD.ORG Thu Aug 2 17:44:32 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F17C516A468 for ; Thu, 2 Aug 2007 17:44:31 +0000 (UTC) (envelope-from ted@pat.io.com) Received: from pat.io.com (pat.io.com [209.198.147.18]) by mx1.freebsd.org (Postfix) with ESMTP id B8AAC13C49D for ; Thu, 2 Aug 2007 17:44:31 +0000 (UTC) (envelope-from ted@pat.io.com) Received: from pat.io.com (pat.io.com [209.198.147.18]) by pat.io.com (8.14.1/8.14.1) with ESMTP id l72HEbaE027007 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 2 Aug 2007 12:14:37 -0500 (CDT) (envelope-from ted@pat.io.com) Date: Thu, 2 Aug 2007 12:14:37 -0500 (CDT) From: Ted Hatfield To: freebsd-stable@freebsd.org Message-ID: <20070802114827.U26646@pat.io.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: ClamAV 0.91.1/3847/Thu Aug 2 06:26:26 2007 on pat.io.com X-Virus-Status: Clean X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS autolearn=failed version=3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on pat.io.com Subject: Bug in less version 406. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 17:44:32 -0000 Can someone verify this bug for me please and suggest a fix. Error description: Using less -E or more to display a file that is less than a full page, while then displaying a nonexistent file causes a segmentation fault. For example on a newly built system you can less -E /etc/group bogusfile This will display the file ending with /etc/group (file 1 of 2) (END) - Next: bogusfile when you press space or return it gives Segmentation fault: 11 If you choose a file that is longer than 1 page the process works as expected. For example less -E /etc/hosts.allow bogusfile works as expected. I have confirmed this behaviour on 3 different machines all built within a week of each other. The newest machine was built on FreeBSD 6.2-STABLE (GENERIC) #0: Thu Jul 26 02:20:28 CDT 2007 Thanks, Ted Hatfield