On Tue, Jun 01, 2004 at 02:30:40AM +0200, Anders Johansson wrote:
On Tuesday 01 June 2004 02.19, Anders Johansson wrote:
Did you report it yet? I think I have the solution. If you wait a few minutes I think I can give you a patch to go with your error report
I filed the bug report yesterday, unfortunately, without any proposed solution.
ok, I just rebooted to my patched sysvinit, and it looks good. This patch looks like it solves the bug
--- src/init.c.old 2004-06-01 02:14:57.342087312 +0200 +++ src/init.c 2004-06-01 02:15:19.464724160 +0200 @@ -452,7 +452,7 @@ len = vsnprintf(buf, sizeof(buf), fmt, ap); va_end(ap);
- memset(argv0, 0, maxproclen + 1); + memset(argv0, 0, maxproclen); strncpy(argv0, buf, maxproclen - 1);
return len;
Patch looks good to me, I only have no idea how I can attach it to existing bug report. I hope somebody from SuSE reads the list... Thank you very much Anders! Regards, -Kastus