mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Java: Fix assert CFG by properly tagging the false successor.
This commit is contained in:
@@ -251,7 +251,7 @@ public class C {
|
||||
(b && xs == null && related == null);
|
||||
if (b) {
|
||||
if (related == null) { return; }
|
||||
xs[0] = 42; // FP - correlated conditions fails to recognize assert edges
|
||||
xs[0] = 42; // OK
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user