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
68774da9
Commit
68774da9
authored
Oct 26, 2003
by
justdave%syndicomm.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 208647: Fixes taint error in add new products code.
Patch by jpyeron@pyerotechnics.com (Jason Pyeron) r= bbaetz, a= justdave
parent
ef9e98bd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
editproducts.cgi
editproducts.cgi
+9
-2
No files found.
editproducts.cgi
View file @
68774da9
...
...
@@ -337,8 +337,15 @@ if ($action eq 'new') {
SqlQuote
(
$product
)
.
","
.
SqlQuote
(
$description
)
.
","
.
SqlQuote
(
$milestoneurl
)
.
","
.
$disallownew
.
","
.
"$votesperuser, $maxvotesperbug, $votestoconfirm, "
.
# had tainting issues under cygwin, IIS 5.0, perl -T %s %s
# see bug 208647. http://bugzilla.mozilla.org/show_bug.cgi?id=208647
# had to de-taint $disallownew, $votesperuser, $maxvotesperbug,
# and $votestoconfirm w/ SqlQuote()
# - jpyeron@pyerotechnics.com
SqlQuote
(
$disallownew
)
.
","
.
SqlQuote
(
$votesperuser
)
.
","
.
SqlQuote
(
$maxvotesperbug
)
.
","
.
SqlQuote
(
$votestoconfirm
)
.
","
.
SqlQuote
(
$defaultmilestone
)
.
")"
);
SendSQL
(
"SELECT LAST_INSERT_ID()"
);
my
$product_id
=
FetchOneColumn
();
...
...
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