diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2016-01-02 22:04:07 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2016-01-02 22:04:35 +0100 |
commit | 0a35d85e9325840f962ba024ef344bf6cf80b9be (patch) | |
tree | 7394ffb7c9f67902cb5d78d46033ac0d68307d4a /app-forensics/chkrootkit/files | |
parent | app-forensics/aide: Remove old (diff) | |
download | gentoo-0a35d85e9325840f962ba024ef344bf6cf80b9be.tar.gz gentoo-0a35d85e9325840f962ba024ef344bf6cf80b9be.tar.bz2 gentoo-0a35d85e9325840f962ba024ef344bf6cf80b9be.zip |
app-forensics/chkrootkit: Remove old
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-forensics/chkrootkit/files')
-rw-r--r-- | app-forensics/chkrootkit/files/chkrootkit-0.48-chkutmp.c-some-overruns-fixes.patch | 57 | ||||
-rw-r--r-- | app-forensics/chkrootkit/files/chkrootkit-0.48-shell-history-anomalies.diff | 21 |
2 files changed, 0 insertions, 78 deletions
diff --git a/app-forensics/chkrootkit/files/chkrootkit-0.48-chkutmp.c-some-overruns-fixes.patch b/app-forensics/chkrootkit/files/chkrootkit-0.48-chkutmp.c-some-overruns-fixes.patch deleted file mode 100644 index 09ba065a0697..000000000000 --- a/app-forensics/chkrootkit/files/chkrootkit-0.48-chkutmp.c-some-overruns-fixes.patch +++ /dev/null @@ -1,57 +0,0 @@ -=== modified file 'chkutmp.c' ---- chkutmp.c 2008-10-06 19:07:51 +0000 -+++ chkutmp.c 2007-10-20 07:56:19 +0000 -@@ -23,6 +23,7 @@ - * - * Changelog: - * Ighighi X - Improved speed via break command - 2005/03/27 -+ * Stewart Gebbie - fixed buffer overrun bug related to MAXREAD and UT_PIDLENGTH - 2007-10-20 - * - */ - -@@ -42,7 +43,7 @@ - #endif - #include <ctype.h> - --#define MAXREAD 1024 -+#define MAXREAD 4096 - #define MAXBUF 4096 - #define MAXLENGTH 256 - #define UT_PIDSIZE 12 -@@ -57,13 +58,13 @@ - #endif - - struct ps_line { -- char ps_tty[UT_LINESIZE]; -- char ps_user[UT_NAMESIZE]; -- char ps_args[MAXLENGTH]; -+ char ps_tty[UT_LINESIZE+1]; -+ char ps_user[UT_NAMESIZE+1]; -+ char ps_args[MAXLENGTH+1]; - int ps_pid; - }; - struct utmp_line { -- char ut_tty[UT_LINESIZE]; -+ char ut_tty[UT_LINESIZE+1]; - int ut_pid; - int ut_type; - }; -@@ -77,7 +78,7 @@ - int fetchps(struct ps_line *psl_p) - { - FILE *ps_fp; -- char line[MAXREAD + 1], pid[UT_PIDSIZE]; -+ char line[MAXREAD + 1], pid[UT_PIDSIZE+1]; - char *s, *d; - struct ps_line *curp = &psl_p[0]; - struct ps_line *endp = &psl_p[MAXBUF]; -@@ -97,7 +98,7 @@ - while (isspace(*s)) /* skip spaces */ - s++; - d = pid; -- for (x = 0; (!isspace(*s)) && (*d++ = *s++) && x <= UT_LINESIZE; x++) /* grab pid */ -+ for (x = 0; (!isspace(*s)) && (*d++ = *s++) && x <= UT_PIDSIZE; x++) /* grab pid */ - ; - *d = '\0'; - curp->ps_pid = atoi(pid); - diff --git a/app-forensics/chkrootkit/files/chkrootkit-0.48-shell-history-anomalies.diff b/app-forensics/chkrootkit/files/chkrootkit-0.48-shell-history-anomalies.diff deleted file mode 100644 index b0a5615d7264..000000000000 --- a/app-forensics/chkrootkit/files/chkrootkit-0.48-shell-history-anomalies.diff +++ /dev/null @@ -1,21 +0,0 @@ -http://bugs.gentoo.org/show_bug.cgi?id=226067 - -*** a/chkrootkit Thu Jun 12 15:20:01 2008 ---- b/chkrootkit Thu Jun 12 15:28:09 2008 -*************** -*** 1098,1104 **** - echo "Warning: \`${files}' file size is zero" - files1=`${find} ${ROOTDIR}${HOME} ${findargs} -name '.*history' \( -links 2 -o -type l \)` - [ ! -z "${files1}" ] && \ -! echo "Warning: \`${files}' is linked to another file" - fi - if [ -z "${files}" -a -z "${files1}" ]; then - if [ "${QUIET}" != "t" ]; then echo "nothing found"; fi ---- 1098,1104 ---- - echo "Warning: \`${files}' file size is zero" - files1=`${find} ${ROOTDIR}${HOME} ${findargs} -name '.*history' \( -links 2 -o -type l \)` - [ ! -z "${files1}" ] && \ -! echo "Warning: \`${files1}' is linked to another file" - fi - if [ -z "${files}" -a -z "${files1}" ]; then - if [ "${QUIET}" != "t" ]; then echo "nothing found"; fi |