]> git.pld-linux.org Git - packages/SysVinit.git/blame - sysvinit-maxproclen.patch
- does not require logrotate; rel 19
[packages/SysVinit.git] / sysvinit-maxproclen.patch
CommitLineData
8c09d4df
AM
1--- sysvinit-2.86/src/init.c.cmdline 2005-10-26 12:56:47.328580896 +0400
2+++ sysvinit-2.86/src/init.c 2005-10-26 12:48:43.823084904 +0400
3@@ -466,7 +466,7 @@
4
5 if (maxproclen > 2) {
6 memset(argv0, 0, maxproclen);
7- strncpy(argv0, buf, maxproclen - 2);
8+ strncpy(argv0, buf, maxproclen - 1);
9 }
10
11 return len;
This page took 0.0317460000000001 seconds and 4 git commands to generate.