We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 797966f commit dfe932dCopy full SHA for dfe932d
cpp/ql/lib/semmle/code/cpp/models/implementations/PostgreSql.qll
@@ -87,7 +87,8 @@ private class PostgreSqlEscapeFunction extends SqlEscapeFunction {
87
override predicate escapesSqlArgument(FunctionInput input, FunctionOutput output) {
88
exists(int argIndex |
89
input.isParameterDeref(argIndex) and
90
- output.isReturnValueDeref()
+ output.isReturnValueDeref() and
91
+ pqxxEscapeArgument(this.getName(), argIndex)
92
)
93
}
94
0 commit comments