diff options
author | Renat Lumpau <rl03@gentoo.org> | 2005-09-30 17:22:44 +0000 |
---|---|---|
committer | Renat Lumpau <rl03@gentoo.org> | 2005-09-30 17:22:44 +0000 |
commit | b4eb10c6f541924be626375461d58606efb7263d (patch) | |
tree | 6e5fd0a286097e5b9670ad2d9eaf22f6a8c17102 /app-admin/apachetop/files | |
parent | Stable on sparc (diff) | |
download | historical-b4eb10c6f541924be626375461d58606efb7263d.tar.gz historical-b4eb10c6f541924be626375461d58606efb7263d.tar.bz2 historical-b4eb10c6f541924be626375461d58606efb7263d.zip |
Revbump wrt security bug #104473.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'app-admin/apachetop/files')
-rw-r--r-- | app-admin/apachetop/files/CAN-2005-2660.patch | 20 | ||||
-rw-r--r-- | app-admin/apachetop/files/digest-apachetop-0.12.5-r1 | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/app-admin/apachetop/files/CAN-2005-2660.patch b/app-admin/apachetop/files/CAN-2005-2660.patch new file mode 100644 index 000000000000..cea26afa4c5b --- /dev/null +++ b/app-admin/apachetop/files/CAN-2005-2660.patch @@ -0,0 +1,20 @@ +--- apachetop-0.12.5.orig/src/apachetop.cc 2005-09-27 20:48:10.000000000 -0400 ++++ apachetop-0.12.5/src/apachetop.cc 2005-09-27 20:49:26.000000000 -0400 +@@ -1105,7 +1105,16 @@ + FILE *d; + va_list args; + +- if (cf.debug && (d = fopen(DEBUG_OUTPUT, "a"))) ++ static char fileName[1024] = {'\0'}; ++ ++ if ( !strlen( fileName ) ) ++ { ++ strcpy( fileName, "/tmp/atop.XXXXXX" ); ++ mkdtemp( fileName ); ++ strncat( fileName, "/debug", sizeof(fileName ) ); ++ } ++ ++ if (cf.debug && (d = fopen(fileName, "a"))) + { + va_start(args, fmt); + vfprintf(d, fmt, args); diff --git a/app-admin/apachetop/files/digest-apachetop-0.12.5-r1 b/app-admin/apachetop/files/digest-apachetop-0.12.5-r1 new file mode 100644 index 000000000000..e9a79fb4e6c3 --- /dev/null +++ b/app-admin/apachetop/files/digest-apachetop-0.12.5-r1 @@ -0,0 +1 @@ +MD5 47c40c26319d57100008a2a56dcefe06 apachetop-0.12.5.tar.gz 126967 |