Skip to content

Commit 108db75

Browse files
geoffw0paldepind
andauthored
Update rust/ql/lib/codeql/rust/security/AccessAfterLifetimeExtensions.qll
Co-authored-by: Simon Friis Vindum <paldepind@github.com>
1 parent 4109848 commit 108db75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ module AccessAfterLifetime {
102102
// propagate through function calls
103103
exists(Call call |
104104
mayEncloseOnStack(a, call.getEnclosingBlock()) and
105-
[call.getStaticTarget(), call.getARuntimeTarget()] = b.getEnclosingCallable()
105+
call.getARuntimeTarget() = b.getEnclosingCallable()
106106
)
107107
}
108108

0 commit comments

Comments
 (0)