Skip to content

Commit

Permalink
Add span boundary for ellipsis patterns
Browse files Browse the repository at this point in the history
This prevents multiline span matching across different commands in some edge cases.
  • Loading branch information
muschempax authored Jan 24, 2024
1 parent fe5f660 commit b8e2c7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generic/tar-insecure-flags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ rules:
impact: HIGH
references:
- https://man7.org/linux/man-pages/man1/tar.1.html
options:
generic_ellipsis_max_span: 0
pattern-either:
# A space character was left at the end of some patterns to help ensure
# that the intended flag was used, and minimize the chance that another,
Expand Down

0 comments on commit b8e2c7b

Please sign in to comment.