Commit a7870933 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 452844: Taint error in _check_dup_id() - Patch by John L. Clark <jlc6@po.cwru.edu> r/a=mkanat

parent 7828df1c
......@@ -1205,6 +1205,7 @@ sub _check_dup_id {
$dupe_of || ThrowCodeError('undefined_field', { field => 'dup_id' });
# Make sure we can change the original bug (issue A on bug 96085)
my $dupe_of_bug = $self->check($dupe_of, 'dup_id');
$dupe_of = $dupe_of_bug->id;
# Make sure a loop isn't created when marking this bug
# as duplicate.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment