mirror of
https://github.com/github/codeql.git
synced 2026-02-28 04:43:42 +01:00
Java: Fix accidental CP in CFG for asserts.
This commit is contained in:
@@ -1621,7 +1621,8 @@ private module ControlFlowGraphImpl {
|
||||
result.(AssertThrowNode).getAstNode() = assertstmt
|
||||
)
|
||||
or
|
||||
last(assertstmt.getMessage(), n, NormalCompletion()) and
|
||||
last(assertstmt.getMessage(), n, completion) and
|
||||
completion = NormalCompletion() and
|
||||
result.(AssertThrowNode).getAstNode() = assertstmt
|
||||
)
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user