Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 60117 Details for
Bug 93782
dev-util/shtool <= 2.0.1 insecure temporary file creation (CAN-2005-175{1-9})
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
shtool patch
shtool.diff (text/plain), 744 bytes, created by
Tavis Ormandy (RETIRED)
on 2005-05-29 12:43:19 UTC
(
hide
)
Description:
shtool patch
Filename:
MIME Type:
Creator:
Tavis Ormandy (RETIRED)
Created:
2005-05-29 12:43:19 UTC
Size:
744 bytes
patch
obsolete
>--- sh.common.orig 2004-04-07 08:50:21.000000000 +0100 >+++ sh.common 2005-05-29 20:39:20.854878600 +0100 >@@ -168,7 +168,13 @@ > else > tmpdir="/tmp" > fi >- tmpfile="$tmpdir/.shtool.$$" >+ if mkdir "$tmpdir/.shtool.$$"; then >+ tmpfile="$tmpdir/.shtool.$$/shtool.tmp" >+ else >+ echo "$msgprefix:Error: failed to create temporary file" 1>&2 >+ exit 1 >+ fi >+ tmpfile="$tmpdir/.shtool.$$/shtool.tmp" > rm -f $tmpfile >/dev/null 2>&1 > touch $tmpfile > chmod 600 $tmpfile >@@ -188,7 +194,7 @@ > shtool_exit () { > rc="$1" > if [ ".$gen_tmpfile" = .yes ]; then >- rm -f $tmpfile >/dev/null 2>&1 || true >+ rm -fr "$tmpdir/.shtool.$$" >/dev/null 2>&1 || true > fi > exit $rc > }
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 93782
: 60117