Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/raidframe



Module Name:    src
Committed By:   oster
Date:           Thu Mar 23 03:43:54 UTC 2006

Modified Files:
        src/sys/dev/raidframe: rf_aselect.c

Log Message:
This one is good for making one's brain hurt.  Turns out that the
original RAIDframe code had the same bug with dag_h being used when
possibly NULL.  Use dagList as the starting point for any potential
dag_h's.  Move the initialization of dag_h in this part to a
little later.   Loop now runs through in equivalent lock-step with the
construction of the dagList earlier in the function.

Addresses Coverity CID 1129 (id=6841 Run 5).


To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 src/sys/dev/raidframe/rf_aselect.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index