[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2337: klogd sometimes re-logs old messages

Hallo Chris Hanson!

}klogd sometimes re-sends messages to syslogd, long after they were
}originally logged.  The bug is caused by an incorrect use of strpbrk()
}in "klogd.c".  strpbrk() is being called on a buffer that is not
}necessarily null-terminated, and when the termination is absent, it
}can scan past the current end of the buffer into old messages.

Thanks for the patch, I have included it and mailed it to Greg.



  / Martin Schulze  *  joey@infodrom.north.de  *  26129 Oldenburg /
 /                                     http://home.pages.de/~joey/
/  Never trust an operating system you don't have sources for!  /

Reply to: