We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8ee5a6 commit 803da33Copy full SHA for 803da33
1 file changed
cpp/ql/src/semmle/code/cpp/models/implementations/Inet.qll
@@ -47,7 +47,7 @@ class InetNetwork extends TaintFunction, ArrayFunction {
47
InetNetwork() { hasGlobalName("inet_network") }
48
49
override predicate hasTaintFlow(FunctionInput input, FunctionOutput output) {
50
- input.isParameterDeref(1) and
+ input.isParameterDeref(0) and
51
output.isReturnValue()
52
}
53
0 commit comments