diff -Nur udev-068.orig/udevd.c udev-068/udevd.c --- udev-068.orig/udevd.c Thu Aug 18 20:04:49 2005 +++ udev-068/udevd.c Tue Sep 13 21:31:38 2005 @@ -205,7 +205,7 @@ if (f == -1) return -1; - len = read(f, buf, sizeof(buf)); + len = read(f, buf, sizeof(buf)-1); close(f); if (len <= 0) @@ -254,7 +254,7 @@ if (f == -1) continue; - len = read(f, line, sizeof(line)); + len = read(f, line, sizeof(line)-1); close(f); if (len <= 0)