Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
backupninja
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Liberate
backupninja
Commits
d9d59cd6
Commit
d9d59cd6
authored
19 years ago
by
micah
Browse files
Options
Downloads
Patches
Plain Diff
Fixed insecure temporary file creation
parent
8ca18d0b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
backupninja
+8
-1
8 additions, 1 deletion
backupninja
changelog
+1
-0
1 addition, 0 deletions
changelog
with
9 additions
and
1 deletion
backupninja
+
8
−
1
View file @
d9d59cd6
...
@@ -305,7 +305,14 @@ function process_action() {
...
@@ -305,7 +305,14 @@ function process_action() {
let
"actions_run += 1"
let
"actions_run += 1"
# call the handler:
# call the handler:
local
bufferfile
=
"/tmp/backupninja.buffer.
$$
"
[
if
-x
/bin/mktemp
]
then
local
bufferfile
=
`
mktemp
/tmp/backupninja.buffer.XXXXXXXX
`
else
DATE
=
`
date
`
sectmp
=
`
echo
$DATE
| /usr/bin/md5sum |
cut
-d-
-f1
`
local
bufferfile
=
/tmp/backupninja.buffer.
$sectmp
fi
echo
""
>
$bufferfile
echo
""
>
$bufferfile
echo_debug_msg
=
1
echo_debug_msg
=
1
(
(
...
...
This diff is collapsed.
Click to expand it.
changelog
+
1
−
0
View file @
d9d59cd6
removed erroneous magic file marker in pgsql handler
removed erroneous magic file marker in pgsql handler
fixed insecure temporary file creation
version 0.8 -- September 15 2005
version 0.8 -- September 15 2005
added pgsql (PostgreSQL) handler, with vservers support.
added pgsql (PostgreSQL) handler, with vservers support.
added vservers support to duplicity handler
added vservers support to duplicity handler
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment