mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 08:26:52 +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>.