Skip to content

Commit f7cf5af

Browse files
committed
C++: Actually check the function name.
1 parent f65f11b commit f7cf5af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/ql/lib/semmle/code/cpp/dataflow/ExternalFlow.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,7 @@ private Element interpretElement0(
794794
(
795795
// Non-member functions
796796
elementSpec(namespace, type, subtypes, name, signature, _) and
797+
funcHasQualifiedName(result, namespace, name) and
797798
subtypes = false and
798799
type = "" and
799800
(

0 commit comments

Comments
 (0)