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 94fe9b6 commit bbce0d0Copy full SHA for bbce0d0
cpp/ql/lib/semmle/code/cpp/security/FlowSources.qll
@@ -60,7 +60,7 @@ private class LocalModelSource extends LocalFlowSource {
60
private class ArgvSource extends LocalFlowSource {
61
ArgvSource() {
62
exists(Function main, Parameter argv |
63
- main.hasGlobalName(["main", "wmain"])
+ main.hasGlobalName(["main", "wmain"]) and
64
main.getParameter(1) = argv and
65
this.asParameter(2) = argv
66
)
0 commit comments