Update cpp/ql/src/experimental/Security/CWE/CWE-416/IteratorToExpiredContainer.ql

Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
This commit is contained in:
Mathias Vorreiter Pedersen
2024-03-18 12:01:44 +00:00
committed by GitHub
parent 575af1a5f9
commit 457d71d7bc

View File

@@ -74,7 +74,7 @@ predicate isSinkImpl(DataFlow::Node sink, FunctionCall fc) {
}
/**
* Flow from any destroyed object to the qualifier of a `begin` call
* Flow from any destroyed object to the qualifier of a `begin` or `end` call
*/
module DestroyedToBeginConfig implements DataFlow::ConfigSig {
predicate isSource(DataFlow::Node source) { source = getADestroyedNode() }