mirror of
https://github.com/github/codeql.git
synced 2025-12-22 19:56:32 +01:00
Formatting
This commit is contained in:
@@ -17,9 +17,7 @@ private import semmle.code.cpp.models.interfaces.FunctionInputsAndOutputs
|
||||
* and would be considered a barrier to SQL injection.
|
||||
*/
|
||||
private class ODBCExecutionFunction extends SqlExecutionFunction {
|
||||
ODBCExecutionFunction() {
|
||||
this.hasGlobalName(["SQLExecDirect", "SQLPrepare"])
|
||||
}
|
||||
ODBCExecutionFunction() { this.hasGlobalName(["SQLExecDirect", "SQLPrepare"]) }
|
||||
|
||||
override predicate hasSqlArgument(FunctionInput input) { input.isParameterDeref(1) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user