rpms/chkrootkit/devel chkrootkit-0.48-chkutmp-outofbounds.patch, 1.1, 1.2 chkrootkit.spec, 1.37, 1.38
Jon Ciesla
limb at fedoraproject.org
Wed Jul 22 13:14:02 UTC 2009
Author: limb
Update of /cvs/pkgs/rpms/chkrootkit/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21681
Modified Files:
chkrootkit-0.48-chkutmp-outofbounds.patch chkrootkit.spec
Log Message:
Additional fixes.
chkrootkit-0.48-chkutmp-outofbounds.patch:
chkutmp.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Index: chkrootkit-0.48-chkutmp-outofbounds.patch
===================================================================
RCS file: /cvs/pkgs/rpms/chkrootkit/devel/chkrootkit-0.48-chkutmp-outofbounds.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- chkrootkit-0.48-chkutmp-outofbounds.patch 21 Jul 2009 19:50:16 -0000 1.1
+++ chkrootkit-0.48-chkutmp-outofbounds.patch 22 Jul 2009 13:14:01 -0000 1.2
@@ -6,3 +6,23 @@
@@ -135 +135 @@
- struct utmp_line *endp = &utl_p[MAXBUF];
+ struct utmp_line *endp = &utl_p[MAXBUF-1];
+--- chkutmp.c~ 2009-07-22 07:57:13.000000000 -0500
++++ chkutmp.c 2009-07-22 08:09:41.000000000 -0500
+@@ -179 +179 @@
+- for (h = 0; h <= y; h++) { /* loop through 'ps' data */
++ for (h = 0; h < y; h++) { /* loop through 'ps' data */
+@@ -181 +181 @@
+- for (i = 0; i <= z; i++) { /* try and match the tty from 'ps' to one in utmp */
++ for (i = 0; i < z; i++) { /* try and match the tty from 'ps' to one in utmp */
+--- chkutmp.c~ 2009-07-22 08:09:41.000000000 -0500
++++ chkutmp.c 2009-07-22 08:11:17.000000000 -0500
+@@ -60,3 +60,3 @@
+- char ps_tty[UT_LINESIZE];
+- char ps_user[UT_NAMESIZE];
+- char ps_args[MAXLENGTH];
++ char ps_tty[UT_LINESIZE+2];
++ char ps_user[UT_NAMESIZE+2];
++ char ps_args[MAXLENGTH+2];
+@@ -66 +66 @@
+- char ut_tty[UT_LINESIZE];
++ char ut_tty[UT_LINESIZE+2];
Index: chkrootkit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/chkrootkit/devel/chkrootkit.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -p -r1.37 -r1.38
--- chkrootkit.spec 21 Jul 2009 19:50:16 -0000 1.37
+++ chkrootkit.spec 22 Jul 2009 13:14:02 -0000 1.38
@@ -1,6 +1,6 @@
Name: chkrootkit
Version: 0.48
-Release: 12%{?dist}
+Release: 13%{?dist}
Summary: Tool to locally check for signs of a rootkit
Group: Applications/System
License: BSD and GPLv2+ and Python
@@ -125,6 +125,9 @@ rm -rf ${RPM_BUILD_ROOT}
%changelog
+* Wed Jul 22 2009 Jon Ciesla <limb at jcomserv.net> 0.48-13
+- Additional items in chkutmp patch.
+
* Tue Jul 21 2009 Jon Ciesla <limb at jcomserv.net> 0.48-12
- Patch to fix crash in chkutmp on x86_64.
More information about the fedora-extras-commits
mailing list