mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
C++/CleartextBufferWrite
This commit is contained in:
@@ -51,7 +51,9 @@ module ToBufferConfig implements DataFlow::ConfigSig {
|
|||||||
predicate observeDiffInformedIncrementalMode() { any() }
|
predicate observeDiffInformedIncrementalMode() { any() }
|
||||||
|
|
||||||
Location getASelectedSinkLocation(DataFlow::Node sink) {
|
Location getASelectedSinkLocation(DataFlow::Node sink) {
|
||||||
exists(SensitiveBufferWrite w | result = w.getLocation() | isSinkImpl(sink, w))
|
exists(SensitiveBufferWrite w | result = [w.getLocation(), sink.getLocation()] |
|
||||||
|
isSinkImpl(sink, w)
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user