Bad:
read(fd, buf, sizeof(buf)); syslog(buf);
read(fd, buf, sizeof(buf)); sanitize(buf); syslog("%s", buf);