Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 69342 Details for
Bug 104473
app-admin/apachetop <= 0.12.5 insecure tmp file creation (CAN-2005-2660)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
apachetop_CAN-2005-2660.patch
apachetop_CAN-2005-2660.patch (text/plain), 586 bytes, created by
Thierry Carrez (RETIRED)
on 2005-09-27 07:41:10 UTC
(
hide
)
Description:
apachetop_CAN-2005-2660.patch
Filename:
MIME Type:
Creator:
Thierry Carrez (RETIRED)
Created:
2005-09-27 07:41:10 UTC
Size:
586 bytes
patch
obsolete
>--- apachetop-0.12.5.orig/src/apachetop.cc >+++ apachetop-0.12.5/src/apachetop.cc >@@ -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);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 104473
: 69342