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