mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-31 16:21:11 +03:00
111e4f81ff
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> |
||
---|---|---|
.. | ||
.gitignore | ||
bsg.h | ||
Makefile.am | ||
README | ||
scsi_id.8 | ||
scsi_id.c | ||
scsi_id.config | ||
scsi_id.h | ||
scsi_serial.c | ||
scsi.h |
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>.