Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 49377 Details for
Bug 78634
dev-perl/DBI CAN-2005-0077 Insecure temporary files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
CAN-2005-0077.patch
CAN-2005-0077.patch (text/plain), 1.26 KB, created by
Thierry Carrez (RETIRED)
on 2005-01-24 07:53:37 UTC
(
hide
)
Description:
CAN-2005-0077.patch
Filename:
MIME Type:
Creator:
Thierry Carrez (RETIRED)
Created:
2005-01-24 07:53:37 UTC
Size:
1.26 KB
patch
obsolete
>--- libdbi-perl-1.21.orig/lib/DBI/ProxyServer.pm >+++ libdbi-perl-1.21/lib/DBI/ProxyServer.pm >@@ -33,12 +33,6 @@ > package DBI::ProxyServer; > > >-my $haveFileSpec = eval { require File::Spec }; >-my $tmpDir = $haveFileSpec ? File::Spec->tmpdir() : >- ($ENV{'TMP'} || $ENV{'TEMP'} || '/tmp'); >-my $defaultPidFile = $haveFileSpec ? >- File::Spec->catdir($tmpDir, "dbiproxy.pid") : "/tmp/dbiproxy.pid"; >- > > ############################################################################ > # >@@ -107,7 +101,8 @@ > } else { > $o->{'mode'} = 'single'; > } >- $o->{'pidfile'} = $defaultPidFile; >+ # No pidfile by default, configuration must provide one if needed >+ $o->{'pidfile'} = 'none'; > $o->{'user'} = undef; > }; > >@@ -491,7 +486,7 @@ > =item I<pidfile> (B<--pidfile=file>) > > (UNIX only) If this option is present, a PID file will be created at the >-given location. >+given location. Default is do not create a pidfile. > > =item I<user> (B<--user=uid>) > >only in patch2: >unchanged: >--- libdbi-perl-1.21.orig/dbiproxy.PL >+++ libdbi-perl-1.21/dbiproxy.PL >@@ -143,7 +143,7 @@ > =item B<--pidfile=file> > > (UNIX only) If this option is present, a PID file will be created at the >-given location. >+given location. Default is do not create a pidfile. > > =item B<--user=uid> >
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 78634
: 49377 |
49432
|
49433