Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
a326cd55
Commit
a326cd55
authored
Sep 25, 2015
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 1089448: Strawberry Perl throws a "Insecure dependency in sysopen" error when attaching a file
r=gerv a=dkl
parent
f7216aa9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
Bugzilla.pm
Bugzilla.pm
+8
-0
No files found.
Bugzilla.pm
View file @
a326cd55
...
...
@@ -87,6 +87,14 @@ sub init_page {
# Some modules throw undefined errors (notably File::Spec::Win32) if
# PATH is undefined.
$ENV
{
'PATH'
}
=
''
;
# On Windows, these paths are tainted, preventing File::Spec::Win32->tmpdir
# from using them. But we need a place to temporary store attachments
# which are uploaded.
if
(
ON_WINDOWS
)
{
foreach
my
$temp
(
qw(TMPDIR TMP TEMP)
)
{
trick_taint
(
$ENV
{
$temp
})
if
$ENV
{
$temp
};
}
}
}
# Because this function is run live from perl "use" commands of
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment