1
0
mirror of https://github.com/securego/gosec.git synced 2025-03-29 21:46:57 +02:00
gosec/testutils
Delon Wong Her Laang d3f1980e7a Fix false positives for SQL string concatenation with constants from another file (#247)
* Allow for SQL concatenation of nodes that resolve to literals

If node.Y resolves to a literal, it will not be considered as an issue.

* Fix typo in comment.

* Go through all files in package to resolve that identifier

* Refactor code and added comments.

* Changed checking to not var or func.

* Allow for supporting code for test cases.

* Resolve merge conflict changes.
2018-09-28 10:46:59 +03:00
..
2017-07-19 15:17:00 -06:00