cvs commit: src/sys/dev/dpt dpt_scsi.c
Matthew N. Dodd
mdodd at FreeBSD.org
Fri Jan 16 21:57:54 PST 2004
mdodd 2004/01/16 21:57:52 PST
FreeBSD src repository
Modified files:
sys/dev/dpt dpt_scsi.c
Log:
- Handle failure of cam_sim_alloc().
This prevents xpt_bus_register() from dereferencing NULL.
- Assign pointer to NULL after cam_sim_free().
Submitted by: Paul Twohey <twohey at CS.Stanford.EDU>
Revision Changes Path
1.46 +12 -0 src/sys/dev/dpt/dpt_scsi.c
More information about the cvs-src
mailing list