pift_server_retest_check() and pift_server_send_file_data() both contain queries that are using an old, potentially insecure style of passing arguments to db_query.

these need to be fixed by using proper placeholders.

Comments

hunmonk’s picture

Status: Active » Needs review
StatusFileSize
new7.23 KB

attached places all query argument in proper placeholders for the offending queries.

note, still needs some cursory testing to make sure i didn't foul anything up.

hunmonk’s picture

Status: Needs review » Fixed
StatusFileSize
new7.33 KB

committed attached to HEAD. basically the same patch as above, i just needed to massage the array merging code a bit.

code is tested and working.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.