1 Jun
2004
1 Jun
'04
00:30
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
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;