Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 41099 Details for
Bug 66360
dev-lang/perl: Insecure tempfile handling
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mysql-4.0.18-tempfile.patch
mysql-4.0.18-tempfile.patch (text/plain), 620 bytes, created by
Luke Macken (RETIRED)
on 2004-10-04 15:39:16 UTC
(
hide
)
Description:
mysql-4.0.18-tempfile.patch
Filename:
MIME Type:
Creator:
Luke Macken (RETIRED)
Created:
2004-10-04 15:39:16 UTC
Size:
620 bytes
patch
obsolete
>diff -ur mysql-4.0.18.orig/scripts/mysqlhotcopy.sh mysql-4.0.18/scripts/mysqlhotcopy.sh >--- mysql-4.0.18.orig/scripts/mysqlhotcopy.sh 2004-02-10 19:16:08.000000000 +0100 >+++ mysql-4.0.18/scripts/mysqlhotcopy.sh 2004-09-13 13:11:49.000000000 +0200 >@@ -636,7 +636,8 @@ > elsif ($opt{method} eq 'scp') > { > my $tmp=$tmpfile; >- open(OUTPUT,">$tmp") || die "Can\'t create file $tmp: $!\n"; >+ use Fcntl; >+ sysopen(OUTPUT,$tmp,O_WRONLY|O_EXCL|O_CREAT) || die "Can\'t create file $tmp: $!\n"; > if (syswrite(OUTPUT,$buff) != length($buff)) > { > die "Error when writing data to $tmp: $!\n";
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 66360
:
41099
|
41172
|
42265