diff options
author | mkanat%bugzilla.org <> | 2006-10-07 02:21:27 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-10-07 02:21:27 +0200 |
commit | 06986da30e4de43957d8c0365cce8491f7bfc9c7 (patch) | |
tree | 6f097694b434b0482c99a208932c981c28b6883d | |
parent | faa0b904d0ec18b72e8e848783e52296306890dc (diff) | |
download | bugzilla-06986da30e4de43957d8c0365cce8491f7bfc9c7.tar.gz bugzilla-06986da30e4de43957d8c0365cce8491f7bfc9c7.tar.xz |
Bug 355709: [PostgreSQL] Crash when querying the DB
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave
-rw-r--r-- | Bugzilla/Search.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 7c0fe7fdd..d0b0cd6ba 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -1632,7 +1632,7 @@ sub GetByWordListSubstr { foreach my $word (split(/[\s,]+/, $strs)) { if ($word ne "") { $sql_word = $dbh->quote($word); - trick_taint($word); + trick_taint($sql_word); push(@list, $dbh->sql_position(lc($sql_word), "LOWER($field)") . " > 0"); } |