rpms/chkrootkit/devel chkrootkit-0.48-chkutmp-outofbounds.patch, NONE, 1.1 chkrootkit.spec, 1.36, 1.37

Jon Ciesla limb at fedoraproject.org
Tue Jul 21 19:50:46 UTC 2009


Author: limb

Update of /cvs/pkgs/rpms/chkrootkit/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5146

Modified Files:
	chkrootkit.spec 
Added Files:
	chkrootkit-0.48-chkutmp-outofbounds.patch 
Log Message:
Patch for x86_64 chkutmp crash, BZ 513029.


chkrootkit-0.48-chkutmp-outofbounds.patch:
 chkutmp.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE chkrootkit-0.48-chkutmp-outofbounds.patch ---
--- chkutmp.c~	2006-10-18 13:00:29.000000000 -0500
+++ chkutmp.c	2009-07-21 14:42:41.000000000 -0500
@@ -83 +83 @@
-    struct ps_line *endp = &psl_p[MAXBUF];
+    struct ps_line *endp = &psl_p[MAXBUF-1];
@@ -135 +135 @@
-    struct utmp_line *endp = &utl_p[MAXBUF];
+    struct utmp_line *endp = &utl_p[MAXBUF-1];


Index: chkrootkit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/chkrootkit/devel/chkrootkit.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -p -r1.36 -r1.37
--- chkrootkit.spec	24 Feb 2009 08:57:49 -0000	1.36
+++ chkrootkit.spec	21 Jul 2009 19:50:16 -0000	1.37
@@ -1,6 +1,6 @@
 Name:           chkrootkit
 Version:        0.48
-Release:        11%{?dist}
+Release:        12%{?dist}
 Summary:        Tool to locally check for signs of a rootkit
 Group:          Applications/System
 License:        BSD and GPLv2+ and Python
@@ -20,6 +20,7 @@ Patch6:         chkrootkit-0.47-chklastl
 Patch7:         chkrootkit-0.48-anomalies.patch
 Patch8:         chkrootkit-0.48-nophpcheck.patch
 Patch9:         chkrootkit-0.48-chkproc-psver.patch
+Patch10:	chkrootkit-0.48-chkutmp-outofbounds.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  desktop-file-utils
@@ -56,6 +57,7 @@ It contains:
 %patch7 -p1 -b .anomalies
 %patch8 -p1 -b .nophpcheck
 %patch9 -p1 -b .chkproc-psver
+%patch10 -p0
 sed -i -e 's!\s\+ at strip.*!!g' Makefile
 
 
@@ -123,6 +125,9 @@ rm -rf ${RPM_BUILD_ROOT}
 
 
 %changelog
+* Tue Jul 21 2009 Jon Ciesla <limb at jcomserv.net> 0.48-12
+- Patch to fix crash in chkutmp on x86_64.
+
 * Tue Feb 24 2009 Michael Schwendt <mschwendt at fedoraproject.org> - 0.48-11
 - update .desktop file for Icon Theme Specification
 - no longer add X-Fedora category to .desktop file




More information about the fedora-extras-commits mailing list