Skip to content

Commit bfe2b7d

Browse files
committed
C++: Use the new predicate to remove a cartesian-like join.
1 parent a922d50 commit bfe2b7d

File tree

2 files changed

+1
-19495
lines changed

2 files changed

+1
-19495
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
@@ -839,6 +839,7 @@ private Function getFunction(string namespace, string type, boolean subtypes, st
839839
* in `name`.
840840
*/
841841
private predicate signatureMatches(Function func, string signature, string type, string name, int i) {
842+
func = getFunction(_, type, _, name) and
842843
exists(string s |
843844
s = getSignatureParameterName(signature, type, name, i) and
844845
s = getParameterTypeName(func, i)

0 commit comments

Comments
 (0)