Closed (fixed)
Project:
Project
Version:
5.x-1.x-dev
Component:
Projects
Priority:
Critical
Category:
Task
Assigned:
Reporter:
Created:
19 Aug 2007 at 15:54 UTC
Updated:
3 Oct 2007 at 17:53 UTC
Jump to comment: Most recent file
See: http://drupal.org/node/167284
%s should never be used without quotes around it. There are some bad uses in project*, but Chad and I looked at the code and none look like actual vulnerabilities.
in project:
release/project-release-create-history.php:96:
$query = db_query("SELECT DISTINCT(prn.pid), tn.tid FROM {project_release_nodes} prn INNER JOIN {term_node} tn ON prn.nid = tn.nid WHERE tn.tid IN (%s)", implode(',', array_keys($api_terms)));
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | project_168649.patch | 1.34 KB | drewish |
| #3 | 168649_project_release_bad_s.patch_2.txt | 1.36 KB | dww |
| #2 | 168649_project_release_bad_s.patch.txt | 1.34 KB | dww |
Comments
Comment #1
hunmonk commentedsince this is a future defensive programming change, i'm not going to hold up our pending release for it. up'ing the priority to make sure it gets taken care of soon, though.
Comment #2
dwwComment #3
dwwor, better yet...
Comment #4
drewish commentedI don't really have CVS setup right to test this but after fixing the following:
it looks good to me.
Comment #5
dwwtee hee, thanks. ;) that second patch was thrown together quickly and was untested...
Comment #6
hunmonk commentedlooks good to me.
Comment #7
dwwCommitted to HEAD, thanks all.
Comment #8
(not verified) commented