From owner-cvs-src@FreeBSD.ORG Sat Jun 7 13:02:57 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06F8537B401; Sat, 7 Jun 2003 13:02:57 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9975A43F75; Sat, 7 Jun 2003 13:02:56 -0700 (PDT) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h57K2u0U080284; Sat, 7 Jun 2003 13:02:56 -0700 (PDT) (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h57K2uwR080283; Sat, 7 Jun 2003 13:02:56 -0700 (PDT) Message-Id: <200306072002.h57K2uwR080283@repoman.freebsd.org> From: Scott Long Date: Sat, 7 Jun 2003 13:02:56 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libdisk disk.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2003 20:02:57 -0000 scottl 2003/06/07 13:02:56 PDT FreeBSD src repository Modified files: lib/libdisk disk.c Log: Sanity check the list obtained from the kern.disks sysctl so that Disk_Names() doesn't get fooled into returning a bogus list. This should fix sysinstall from segfaulting when no disk devices are present. Revision Changes Path 1.117 +4 -1 src/lib/libdisk/disk.c