Skip to content

Commit 0162bc3

Browse files
erik-kroghaibaars
andauthored
use RelevantState inside the lastStartState predicate
Co-authored-by: Arthur Baars <aibaars@github.com>
1 parent c38062c commit 0162bc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/security/regexp/NfaUtils.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ module PrefixConstruction<isCandidateSig/1 isCandidate> {
890890
private predicate lastStartState(RelevantState state) {
891891
exists(RegExpRoot root |
892892
state =
893-
max(State s, Location l |
893+
max(RelevantState s, Location l |
894894
isStartState(s) and
895895
getRoot(s.getRepr()) = root and
896896
l = s.getRepr().getLocation()

0 commit comments

Comments
 (0)