Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0162bc3

Browse files
erik-kroghaibaars
andauthored
use RelevantState inside the lastStartState predicate
Co-authored-by: Arthur Baars <[email protected]>
1 parent c38062c commit 0162bc3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)