We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a4659f commit bd07b8aCopy full SHA for bd07b8a
1 file changed
cpp/ql/lib/experimental/Quantum/OpenSSL/OpenSSLAlgorithmGetter.qll
@@ -31,7 +31,7 @@ class CopyAndDupAlgorithmPassthroughCall extends AlgorithmPassthroughCall {
31
// Assume flow in and out is asIndirectExpr or asDefinitingArgument since a pointer is assumed
32
// to be involved
33
// NOTE: not attempting to detect openssl specific copy/dup functions, but anything suspected to be copy/dup
34
- this.getTarget().getName().toLowerCase().matches(["%_dup", "%_copy"]) and
+ this.getTarget().getName().toLowerCase().matches(["%_dup%", "%_copy%"]) and
35
exists(Expr inArg, Type t |
36
inArg = this.getAnArgument() and t = inArg.getUnspecifiedType().stripType()
37
|
0 commit comments