OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Brad Smith (bradcvs.openbsd.org)
Date: Sun May 22 2005 - 16:36:27 CDT


CVSROOT: /cvs
Module name: src
Changes by: bradcvs.openbsd.org 2005/05/22 15:36:27

Modified files:
        sys/dev : Tag: OPENBSD_3_7 ccd.c

Log message:
MFC:
Fix by niallo

Add a bzero() after malloc() when allocating component info in ccdinit().

This fixes a panic in ccd(4) mirroring where the second component could be
wrongly treated as failed, which leads to uvm_fault in write operation.

ok niallo mickey deraadt