CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2011/12/28 09:02:45
Modified files: sys/dev : softraid.c sys/kern : subr_disk.c sys/sys : disk.h Log message: Avoid the use of an invalid disklabel by setting a DK_LABELVALID flag if we correctly read and validated the disklabel. Always check that this flag is set before using the DUID from the disklabel. Discussed with deraadt@ ok krw@