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 cd2eec0 commit ff30308Copy full SHA for ff30308
cpp/ql/lib/semmle/code/cpp/models/implementations/Send.qll
@@ -58,7 +58,7 @@ private class Send extends AliasFunction, ArrayFunction, SideEffectFunction, Rem
58
override ParameterIndex getParameterSizeIndex(ParameterIndex i) { i = 1 and result = 2 }
59
60
override predicate hasRemoteFlowSink(FunctionInput input, string description) {
61
- input.isParameterDeref(1) and description = "buffer sent by " + this.getName()
+ input.isParameterDeref(1, 1) and description = "buffer sent by " + this.getName()
62
}
63
64
override predicate hasSocketInput(FunctionInput input) { input.isParameter(0) }
0 commit comments