Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6848b60 commit 4316026Copy full SHA for 4316026
1 file changed
cpp/ql/src/Security/CWE/CWE-497/SystemData.qll
@@ -54,7 +54,7 @@ class SQLClientInfo extends SystemData {
54
override predicate isSensitive() { any() }
55
}
56
57
-private predicate sqlConnectInfo(FunctionCall source, VariableAccess use) {
+private predicate sqlConnectInfo(FunctionCall source, Expr use) {
58
(
59
source.getTarget().hasName("mysql_connect") or
60
source.getTarget().hasName("mysql_real_connect")
0 commit comments