We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 954235e commit 6965cf7Copy full SHA for 6965cf7
1 file changed
cpp/ql/lib/semmle/code/cpp/models/implementations/Fopen.qll
@@ -54,7 +54,7 @@ private class Fopen extends Function, AliasFunction, SideEffectFunction, TaintFu
54
output.isReturnValueDeref()
55
or
56
// The out parameter is a pointer to a `FILE*`.
57
- this.hasGlobalOrStdName(["fopen_s"]) and
+ this.hasGlobalOrStdName("fopen_s") and
58
input.isParameterDeref(1) and
59
output.isParameterDeref(0, 2)
60
0 commit comments