We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 12d7f0c + 38257a5 commit 7015be7Copy full SHA for 7015be7
cpp/ql/lib/experimental/semmle/code/cpp/security/PrivateCleartextWrite.qll
@@ -52,11 +52,8 @@ module PrivateCleartextWrite {
52
53
class WriteSink extends Sink {
54
WriteSink() {
55
- exists(FileWrite f, BufferWrite b |
56
- this.asExpr() = f.getASource()
57
- or
58
- this.asExpr() = b.getAChild()
59
- )
+ this.asExpr() = any(FileWrite f).getASource() or
+ this.asExpr() = any(BufferWrite b).getAChild()
60
}
61
62
0 commit comments