mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-01-22 23:19:47 +07: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 | ||
exported_symbols | ||
libudev-ctrl.c | ||
libudev-device-db-write.c | ||
libudev-device.c | ||
libudev-enumerate.c | ||
libudev-list.c | ||
libudev-monitor.c | ||
libudev-private.h | ||
libudev-queue.c | ||
libudev-util.c | ||
libudev.c | ||
libudev.h | ||
libudev.pc.in | ||
Makefile.am | ||
test-libudev.c |