Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 316103 Details for
Bug 461501
CVE-2008-3927 tiger: insecure temporary file use in genmsgidx
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch used by Debian maintainer
genmsgidx-debian.diff (text/plain), 987 bytes, created by
Tomas Hoger
on 2008-09-08 16:20:59 UTC
(
hide
)
Description:
Patch used by Debian maintainer
Filename:
MIME Type:
Creator:
Tomas Hoger
Created:
2008-09-08 16:20:59 UTC
Size:
987 bytes
patch
obsolete
>--- tiger-3.2.2.orig/util/genmsgidx >+++ tiger-3.2.2/util/genmsgidx >@@ -19,6 +19,8 @@ > # > # 09/19/2003 - jfs - Applied fixes contributed by Nicolas François > # 08/13/2003 - jfs - Avoided bashism >+# 08/26/2008 - jfs - Fix temporary race condition by using tempfile >+# in those systems that have it > # > #----------------------------------------------------------------------------- > >@@ -70,12 +72,20 @@ > } > > TESTEXEC=-x >-( [ $TESTEXEC /bin/sh ] ) 2> /tmp/te.$$ >-[ -s /tmp/te.$$ ] && TESTEXEC=-f >+ >+# Setup a tempfile >+[ -n "$TMPDIR" ] && TMPDIR=/tmp/ >+tempfile=`tempfile` >+[ -z "$tempfile" ] && tempfile=$TMPDIR/te.$$ >+[ ! -e $tempfile ] && >$tempfile >+ >+# This test is only needed for some old systems that do not support -x >+( [ $TESTEXEC /bin/sh ] ) 2> $tempfile >+[ -s $tempfile ] && TESTEXEC=-f > export TESTEXEC > > RM=`findcmd rm` >-[ -n "$RM" ] && $RM /tmp/te.$$ >+[ -n "$RM" ] && $RM $tempfile > AWK=`findcmd awk` > BASENAME=`findcmd basename` > CHMOD=`findcmd chmod`
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 461501
:
316103
|
316104
|
316105