Skip to content

Commit be9908d

Browse files
committed
C++: Fix copy/paste error.
1 parent 9db1961 commit be9908d

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/src/semmle/code/cpp/models/implementations

1 file changed

+1
-1
lines changed

cpp/ql/src/semmle/code/cpp/models/implementations/Sscanf.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ private class SscanfModel extends ArrayFunction, TaintFunction, AliasFunction, S
7070
buffer = true and
7171
i =
7272
[
73-
this.(ScanfFunction).getFormatParameterIndex(),
73+
this.(ScanfFunction).getInputParameterIndex(),
7474
this.(ScanfFunction).getFormatParameterIndex(), getLocaleParameterIndex()
7575
]
7676
}

0 commit comments

Comments
 (0)