rpms/SysVinit/devel sysvinit-2.86-maxproclen.patch, NONE, 1.1 SysVinit.spec, 1.42, 1.43
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed May 10 16:05:37 UTC 2006
Author: notting
Update of /cvs/dist/rpms/SysVinit/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv26936
Modified Files:
SysVinit.spec
Added Files:
sysvinit-2.86-maxproclen.patch
Log Message:
- fix potential under-copy of proc title (#188160, <kir at sacred.ru>)
sysvinit-2.86-maxproclen.patch:
init.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE sysvinit-2.86-maxproclen.patch ---
--- ./init.c.cmdline 2005-10-26 12:56:47.328580896 +0400
+++ ./init.c 2005-10-26 12:48:43.823084904 +0400
@@ -466,7 +466,7 @@
if (maxproclen > 2) {
memset(argv0, 0, maxproclen);
- strncpy(argv0, buf, maxproclen - 2);
+ strncpy(argv0, buf, maxproclen - 1);
}
return len;
Index: SysVinit.spec
===================================================================
RCS file: /cvs/dist/rpms/SysVinit/devel/SysVinit.spec,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- SysVinit.spec 17 Mar 2006 17:28:01 -0000 1.42
+++ SysVinit.spec 10 May 2006 16:05:23 -0000 1.43
@@ -1,7 +1,7 @@
Summary: Programs which control basic system processes.
Name: SysVinit
Version: 2.86
-Release: 3
+Release: 4
License: GPL
Group: System Environment/Base
Source: ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/sysvinit-%{version}.tar.gz
@@ -18,6 +18,7 @@
Patch11: sysvinit-2.86-haltname.patch
Patch12: sysvinit-2.86-haltman.patch
Patch13: sysvinit-2.86-single.patch
+Patch14: sysvinit-2.86-maxproclen.patch
Patch20: sysvinit-selinux.patch
Source1: change_console.c
Source2: change_console.8
@@ -65,6 +66,8 @@
%patch12 -p1 -b .haltman
# Fix single user mode (#176348)
%patch13 -p1 -b .single
+# Fix under-copy of proc title (#188160)
+%patch14 -p1 -b .maxproclen
# SELinux support for init - loading policy, etc.
%patch20 -p1 -b .selinux
@@ -124,6 +127,9 @@
/dev/initctl
%changelog
+* Wed May 10 2006 Bill Nottingham <notting at redhat.com> - 2.86-3
+- fix potential under-copy of proc title (#188160, <kir at sacred.ru>)
+
* Fri Mar 17 2006 Bill Nottingham <notting at redhat.com> - 2.86-3
- document that the kernel may sync even if reboot is called with -n (#180967)
More information about the fedora-cvs-commits
mailing list