Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdd7ad2 commit 466f36cCopy full SHA for 466f36c
1 file changed
cpp/ql/src/semmle/code/cpp/models/implementations/Gets.qll
@@ -51,7 +51,8 @@ class GetsFunction extends DataFlowFunction, TaintFunction, ArrayFunction, Alias
51
52
override predicate hasArrayWithVariableSize(int bufParam, int countParam) {
53
not hasGlobalOrStdName("gets") and
54
- bufParam = 0 and countParam = 1
+ bufParam = 0 and
55
+ countParam = 1
56
}
57
58
override predicate hasArrayWithUnknownSize(int bufParam) {
0 commit comments