phires / go-guerrilla

MIT License
112 stars 18 forks source link

gosec: _guerrilla_db_redis.go: G202 (CWE-89): SQL string concatenation #12

Closed phires closed 5 months ago

phires commented 1 year ago
[/dev/go-guerrilla/backends/p_guerrilla_db_redis.go:328] - G202 (CWE-89): SQL string concatenation (Confidence: HIGH, Severity: MEDIUM)
    327:                // do we have access?
  > 328:                _, err = db.Query("SELECT mail_id FROM " + g.config.Table + " LIMIT 1")
    329:                if err != nil {
phires commented 5 months ago

fixed by PR #35