Skip to content

Commit bbce0d0

Browse files
GeekMasherjketema
andauthored
Update cpp/ql/lib/semmle/code/cpp/security/FlowSources.qll
Co-authored-by: Jeroen Ketema <[email protected]>
1 parent 94fe9b6 commit bbce0d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/security/FlowSources.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ private class LocalModelSource extends LocalFlowSource {
6060
private class ArgvSource extends LocalFlowSource {
6161
ArgvSource() {
6262
exists(Function main, Parameter argv |
63-
main.hasGlobalName(["main", "wmain"])
63+
main.hasGlobalName(["main", "wmain"]) and
6464
main.getParameter(1) = argv and
6565
this.asParameter(2) = argv
6666
)

0 commit comments

Comments
 (0)