1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-31 16:21:11 +03:00
systemd-stable/extras/scsi_id
Alan Jenkins 111e4f81ff replace strncpy() with strlcpy()
The problem was strncpy() doesn't stop after writing the terminating
NUL; by definition it goes on to zero the entire buffer.

I spy another use of strncpy in udev_device_add_property_from_string(),
which is responsible for another ~1% user cpu time...

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2008-10-21 23:55:13 +02:00
..
.gitignore extras: ignore built and generated files 2007-11-08 00:13:40 +01:00
bsg.h scsi_id: add bsg.h 2008-05-16 12:52:42 +02:00
Makefile.am libudev: add global property list 2008-10-16 13:51:29 +02:00
README scsi_id: remove dead files 2006-01-28 16:42:49 +01:00
scsi_id.8 scsi_id: man page fix 2008-07-10 00:17:24 +02:00
scsi_id.c replace strncpy() with strlcpy() 2008-10-21 23:55:13 +02:00
scsi_id.config correct typo in extras/scsi_id/scsi_id.conf 2007-01-21 15:51:28 +01:00
scsi_id.h use libudev code, unify logging, pass udev context around everywhere 2008-09-06 15:45:31 +02:00
scsi_serial.c scsi_id: compiler warning on 32-bit 2008-09-19 22:14:46 -07:00
scsi.h scsi_id: remove dead files 2006-01-28 16:42:49 +01:00

scsi_id - generate a SCSI unique identifier for a given SCSI device

Please send questions, comments or patches to <patmans@us.ibm.com> or
<linux-hotplug-devel@lists.sourceforge.net>.