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 2e932b6 commit 76d18b4Copy full SHA for 76d18b4
1 file changed
cpp/ql/src/Security/CWE/CWE-676/DangerousFunctionOverflow.ql
@@ -14,5 +14,5 @@ import cpp
14
from FunctionCall call, Function target
15
where
16
call.getTarget() = target and
17
- target.getQualifiedName() = "gets"
+ target.hasGlobalName("gets")
18
select call, "gets does not guard against buffer overflow"
0 commit comments