Update rust/ql/lib/codeql/rust/security/AccessAfterLifetimeExtensions.qll

Co-authored-by: Simon Friis Vindum <paldepind@github.com>
This commit is contained in:
Geoffrey White
2025-12-05 13:19:38 +00:00
committed by GitHub
parent 4109848927
commit 108db75124

View File

@@ -102,7 +102,7 @@ module AccessAfterLifetime {
// propagate through function calls
exists(Call call |
mayEncloseOnStack(a, call.getEnclosingBlock()) and
[call.getStaticTarget(), call.getARuntimeTarget()] = b.getEnclosingCallable()
call.getARuntimeTarget() = b.getEnclosingCallable()
)
}