We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6573b1f commit a2f2b6cCopy full SHA for a2f2b6c
1 file changed
cpp/ql/lib/semmle/code/cpp/security/FlowSources.qll
@@ -53,7 +53,7 @@ private class ArgvSource extends LocalFlowSource {
53
exists(Function main, Parameter argv |
54
main.hasGlobalName("main") and
55
main.getParameter(1) = argv and
56
- this.asParameter(_) = argv
+ this.asParameter(2) = argv
57
)
58
}
59
0 commit comments