[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Kenneth R Westerback <krw_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Tue, 6 May 2003 05:40:34 -0600 (MDT)
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