Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 128039 Details for
Bug 188808
>=app-admin/sysstat-7.1 Insecure temporary file usage (CVE-2007-3852)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
CVE-2007-3852.patch
CVE-2007-3852.patch (text/plain), 981 bytes, created by
Sune Kloppenborg Jeppesen (RETIRED)
on 2007-08-14 11:48:43 UTC
(
hide
)
Description:
CVE-2007-3852.patch
Filename:
MIME Type:
Creator:
Sune Kloppenborg Jeppesen (RETIRED)
Created:
2007-08-14 11:48:43 UTC
Size:
981 bytes
patch
obsolete
>--- sysstat.in.org 2007-08-11 15:50:32.563753168 +0200 >+++ sysstat.in 2007-08-11 15:52:22.750002312 +0200 >@@ -10,22 +10,21 @@ > > RETVAL=0 > SYSCONFIG_DIR=@SYSCONFIG_DIR@ >-# Remove flag indicating that sadc was successfully launched >-rm -f /tmp/sysstat.run > > # See how we were called. > case "$1" in > start) >+ exitCodeIndicator="$(mktemp /tmp/sysstat-XXXXXX)" || exit 1 > echo -n "Calling the system activity data collector (sadc): " >- @SU_C_OWNER@ @QUOTE@ @SA_LIB_DIR@/sa1 --boot && touch /tmp/sysstat.run @QUOTE@ >+ @SU_C_OWNER@ @QUOTE@ @SA_LIB_DIR@/sa1 --boot || rm -f ${exitCodeIndicator} @QUOTE@ > > # Try to guess if sadc was successfully launched. The difficulty > # here is that the exit code is lost when the above command is > # run via "su foo -c ..." >- if [ ! -f /tmp/sysstat.run ]; then >- RETVAL=1 >+ if [ -f "${exitCodeIndicator}" ]; then >+ rm -f ${exitCodeIndicator} > else >- rm -f /tmp/sysstat.run >+ RETVAL=1 > fi > echo > ;;
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 188808
: 128039