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.
1 parent 17b261a commit d89aa0fCopy full SHA for d89aa0f
cpp/ql/src/Security/CWE/CWE-311/CleartextBufferWrite.ql
@@ -51,7 +51,9 @@ module ToBufferConfig implements DataFlow::ConfigSig {
51
predicate observeDiffInformedIncrementalMode() { any() }
52
53
Location getASelectedSinkLocation(DataFlow::Node sink) {
54
- exists(SensitiveBufferWrite w | result = w.getLocation() | isSinkImpl(sink, w))
+ exists(SensitiveBufferWrite w | result = [w.getLocation(), sink.getLocation()] |
55
+ isSinkImpl(sink, w)
56
+ )
57
}
58
59
0 commit comments