Skip to content

Commit

Permalink
fix: propagate repeats anywhere in ir
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoDog896 committed Mar 1, 2024
1 parent 030b954 commit 0e2b4cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/redos/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ fn repeats_anywhere(expr: &Expr, config: &VulnerabilityConfig) -> bool {
Expr::Group(e) => repeats_anywhere(e.as_ref(), config),
Expr::LookAround(e, _) => repeats_anywhere(e.as_ref(), config),
Expr::AtomicGroup(e) => repeats_anywhere(e.as_ref(), config),
Expr::Optional(e) => repeats_anywhere(e.as_ref(), config),
Expr::Conditional {
condition,
true_branch,
Expand Down

0 comments on commit 0e2b4cb

Please sign in to comment.