Re: Wrong length / buffer overlow by the syslog syscall

2012-12-05 Thread Sylvain Munaut
Hi, > It happens on several machines and this only seem to happen if there > was a wrap around in the log buffer (it's a first observation on a > limited number of sample so it might be a coincidence) I think the culprit is print_time and has nothing to do with wrap around, just the uptime.

Wrong length / buffer overlow by the syslog syscall

2012-12-05 Thread Sylvain Munaut
Hi, I was debugging a segfault in the 'dmesg' utility that I finally traced to the syslog syscall overflowing the buffer. I'm under a 3.6.8 kernel and it has commit e3756477aec028427fec767957c0d4b6cfb87208 present which apparently fixed a similar issue, but I still have some occurence. strace

Wrong length / buffer overlow by the syslog syscall

2012-12-05 Thread Sylvain Munaut
Hi, I was debugging a segfault in the 'dmesg' utility that I finally traced to the syslog syscall overflowing the buffer. I'm under a 3.6.8 kernel and it has commit e3756477aec028427fec767957c0d4b6cfb87208 present which apparently fixed a similar issue, but I still have some occurence. strace

Re: Wrong length / buffer overlow by the syslog syscall

2012-12-05 Thread Sylvain Munaut
Hi, It happens on several machines and this only seem to happen if there was a wrap around in the log buffer (it's a first observation on a limited number of sample so it might be a coincidence) I think the culprit is print_time and has nothing to do with wrap around, just the uptime. static