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

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	krw_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2003/05/06 05:40:34

Modified files:
	sys/scsi       : sd.c 

Log message:
sprintf -> snprintf. strncpy -> bcopy since d_packname is not really a
string.

Ensure that all of d_packname is used by not null-terminating string
that is put in it.

Suggestions and motivation to remove strncpy() from deraadt_(_at_)__(_dot_)_

ok deraadt@ tedu_(_at_)__(_dot_)_



Visit your host, monkey.org