Closed Bug 250265 Opened 21 years ago Closed 21 years ago

taint issues with vote fields when editing products

Categories

(Bugzilla :: Administration, task)

2.17.7
task
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: bugzilla, Assigned: bugzilla)

Details

Attachments

(1 file, 1 obsolete file)

votesperuser, maxvotesperbug and votestoconfirm all have taint problems
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: blocking2.18?
Attachment #152554 - Flags: review?
Comment on attachment 152554 [details] [diff] [review] detaint (and validate) the vote-related parameters when editting products detaint_natural doesn't return true for negative integers. Therefore, "if $number < 0", then "!detaint_natural($number)" will be certainly true. This can be used in order to remove the redundant checks in the patch.
Attachment #152554 - Flags: review? → review-
Flags: blocking2.18? → blocking2.18+
Target Milestone: --- → Bugzilla 2.18
Attachment #152554 - Attachment is obsolete: true
Attachment #152617 - Flags: review?
Since we're short on time, if anybody is available for review feel free to dig in. :)
Comment on attachment 152617 [details] [diff] [review] GavinS's patch with optimised if conditions r=joel
Attachment #152617 - Flags: review? → review+
Flags: approval?
Flags: approval? → approval+
Checking in editproducts.cgi; /cvsroot/mozilla/webtools/bugzilla/editproducts.cgi,v <-- editproducts.cgi new revision: 1.53; previous revision: 1.52 done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Summary: taint issues with vote fields when editting products → taint issues with vote fields when editing products
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: