Date: Sat, 7 Jun 2003 13:02:56 -0700 (PDT) From: Scott Long <scottl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libdisk disk.c Message-ID: <200306072002.h57K2uwR080283@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306072002.h57K2uwR080283>