Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 69694 Details for
Bug 105000
app-backup/flexbackup <= 1.2.1 multiples vulnerabilities
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch.CAN-2005-2965.flexbackup
patch.CAN-2005-2965.flexbackup (text/plain), 1.26 KB, created by
Thierry Carrez (RETIRED)
on 2005-10-02 02:18:48 UTC
(
hide
)
Description:
patch.CAN-2005-2965.flexbackup
Filename:
MIME Type:
Creator:
Thierry Carrez (RETIRED)
Created:
2005-10-02 02:18:48 UTC
Size:
1.26 KB
patch
obsolete
>--- flexbackup~ 2003-10-10 16:12:09.000000000 +0200 >+++ flexbackup 2005-10-01 19:35:25.000000000 +0200 >@@ -269,6 +269,7 @@ if (($::mode !~ m/^(list|extract|restore > untie(%::index); > } > >+system ('rm', '-rf', $cfg::tmpdir) if (defined($cfg::deltmpdir)); > exit(0); > > ###################################################################### >@@ -2725,6 +2726,13 @@ sub optioncheck { > &checkvar(\$cfg::prefix,'prefix','exist',''); > &checkvar(\$cfg::sprefix,'sprefix','exist',''); > >+ # Create a subdirectory inside /tmp >+ if ($cfg::tmpdir eq '/tmp') { >+ $cfg::tmpdir = $cfg::tmpdir .'/'.$$; >+ mkdir ($cfg::tmpdir) || die "Can't create temporary directory, $!"; >+ $cfg::deltmpdir = 1; >+ } >+ > if (@::errors) { > print $::msg "Errors:\n"; > while(@::errors) { >@@ -5236,8 +5244,8 @@ sub test_bufferprog { > # Create a script which tests the buffer program > open(SCR,"> $tmp_script") || die; > print SCR "#!/bin/sh\n"; >- print SCR "tmp_data=/tmp/bufftest\$\$.txt\n"; >- print SCR "tmp_err=/tmp/bufftest\$\$.err\n"; >+ print SCR "tmp_data=\`tempfile\`\n"; >+ print SCR "tmp_err=\`tempfile\`\n"; > print SCR "echo testme > \$tmp_data\n"; > print SCR "$buffer_cmd > /dev/null 2> \$tmp_err < \$tmp_data\n"; > print SCR "res=\$?\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 105000
: 69694 |
70020