Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 164168 Details for
Bug 235822
dev-lang/R < 2.7.1 insecure temp file usage (CVE-2008-3931)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
updated patch
R-javareconf.patch (text/plain), 1.11 KB, created by
Markus Dittrich (RETIRED)
on 2008-08-31 11:25:53 UTC
(
hide
)
Description:
updated patch
Filename:
MIME Type:
Creator:
Markus Dittrich (RETIRED)
Created:
2008-08-31 11:25:53 UTC
Size:
1.11 KB
patch
obsolete
>diff -Naur R-2.7.2/src/scripts/javareconf R-2.7.2.new/src/scripts/javareconf >--- R-2.7.2/src/scripts/javareconf 2008-03-25 08:26:44.000000000 -0400 >+++ R-2.7.2.new/src/scripts/javareconf 2008-08-31 07:18:01.000000000 -0400 >@@ -125,16 +125,20 @@ > javac_works='not present' > if test -n "$JAVAC"; then > javac_works='not functional' >- rm -rf /tmp/A.java /tmp/A.class >- echo "public class A { }" > /tmp/A.java >- if test -e /tmp/A.java; then >- if "${JAVAC}" /tmp/A.java >/dev/null; then >- if test -e /tmp/A.class; then >- javac_works=yes >- fi >- fi >+ # edd 25 Aug 2008 use mktemp -t -d >+ #rm -rf /tmp/A.java /tmp/A.class >+ if jctmpdir=`mktemp -t -d`; then >+ echo "public class A { }" > ${jctmpdir}/A.java >+ if test -e ${jctmpdir}/A.java; then >+ if "${JAVAC}" ${jctmpdir}/A.java >/dev/null; then >+ if test -e ${jctmpdir}/A.class; then >+ javac_works=yes >+ fi >+ fi >+ fi > fi >- rm -rf /tmp/A.java /tmp/A.class >+ # rm -rf /tmp/A.java /tmp/A.class >+ rm -rf ${jctmpdir} > fi > if test "${javac_works}" = yes; then > echo "Java compiler : ${JAVAC}"
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 235822
: 164168