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.
2 parents 3632d51 + 803da33 commit d3a1856Copy full SHA for d3a1856
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