Skip to content

Commit 76d18b4

Browse files
committed
CPP: Repair getQualifiedName changes from elsewhere.
1 parent 2e932b6 commit 76d18b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/Security/CWE/CWE-676/DangerousFunctionOverflow.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ import cpp
1414
from FunctionCall call, Function target
1515
where
1616
call.getTarget() = target and
17-
target.getQualifiedName() = "gets"
17+
target.hasGlobalName("gets")
1818
select call, "gets does not guard against buffer overflow"

0 commit comments

Comments
 (0)