Megatest

View Ticket
Login
2013-05-09
17:01 New ticket [3d3046b2c2] Missing escaping in dashboard test selector. artifact: 4c624e81ef user: matt

Ticket Hash: 3d3046b2c222903b64e0203eb894860346741200
Title: Missing escaping in dashboard test selector
Status: Open Type: Code_Defect
Severity: Important Priority:
Subsystem: Resolution:
Last Modified: 2013-05-09 17:01:33
Version Found In: v1.5427
Description:
"SELECT id,run_id,testname,state,status,event_time,host,cpuload,diskfree,uname,rundir,item_path,run_duration,final_logf,comment FROM tests WHERE run_id=? AND ((testname LIKE '%if %'' AND item_path LIKE '%')) ;"

        Call history:

        db.scm:564: string-intersperse
        tests.scm:100: db:patt->like
        db.scm:560: ##sys#get-keyword
        db.scm:564: g779
        substring-index
        db.scm:566: conc
        db.scm:564: string-intersperse
        tests.scm:101: conc
        tests.scm:104: reverse
        tests.scm:104: append
        tests.scm:104: string-intersperse
        db.scm:796: conc
        db.scm:792: conc
        db.scm:802: debug:print-info
        common_records.scm:58: debug:debug-mode
        db.scm:803: sqlite3#for-each-row <--