From 108db7512450cfd3167265e9e370f7b4419144ad Mon Sep 17 00:00:00 2001 From: Geoffrey White <40627776+geoffw0@users.noreply.github.com> Date: Fri, 5 Dec 2025 13:19:38 +0000 Subject: [PATCH] Update rust/ql/lib/codeql/rust/security/AccessAfterLifetimeExtensions.qll Co-authored-by: Simon Friis Vindum --- .../lib/codeql/rust/security/AccessAfterLifetimeExtensions.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/ql/lib/codeql/rust/security/AccessAfterLifetimeExtensions.qll b/rust/ql/lib/codeql/rust/security/AccessAfterLifetimeExtensions.qll index dc99c61405b..64b806331a6 100644 --- a/rust/ql/lib/codeql/rust/security/AccessAfterLifetimeExtensions.qll +++ b/rust/ql/lib/codeql/rust/security/AccessAfterLifetimeExtensions.qll @@ -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() ) }