Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imcompatibility of "[^/]" (in rules) and option "--auto-add-rules-w" #121

Closed
xaionaro opened this issue Apr 3, 2015 · 1 comment
Closed
Assignees
Labels
Milestone

Comments

@xaionaro
Copy link
Member

xaionaro commented Apr 3, 2015

Debug1 (pid: 17809; thread: 0x7fe8cf491700): parse_rules_fromfile(): Rule #0 <+>[0x0f 0x0f] <f>[0x8000] pattern <^/home/[^/]+/.ssh/authorized_keys$> (length: 34).
Debug3 (pid: 17809; thread: 0x7fe8cf491700): rule_complete(): <^/home/[^/]+/.ssh/authorized_keys$>.
Debug1 (pid: 17809; thread: 0x7fe8cf491700): parse_rules_fromfile(): Rule #1 <+> <w> pattern <^/home/[^/]+/.ssh$> (length: 18) [auto].
Debug3 (pid: 17809; thread: 0x7fe8cf491700): rule_complete(): <^/home/[^/]+/.ssh$>.
Debug1 (pid: 17809; thread: 0x7fe8cf491700): parse_rules_fromfile(): Rule #2 <+> <w> pattern <^/home/[^/]+$> (length: 13) [auto].
Debug3 (pid: 17809; thread: 0x7fe8cf491700): rule_complete(): <^/home/[^/]+$>.
Debug1 (pid: 17809; thread: 0x7fe8cf491700): parse_rules_fromfile(): Rule #3 <+> <w> pattern <^/home/[^$> (length: 10) [auto].
Debug3 (pid: 17809; thread: 0x7fe8cf491700): rule_complete(): <^/home/[^$>.
Error (pid: 17809; thread: 0x7fe8cf491700): rule_complete(): Invalid regexp pattern <^/home/[^$>: Unmatched [ or [^ (regex-errno: 7).
Debug3 (pid: 17809; thread: 0x7fe8cf491700): parse_rules_fromfile(): Adding tail-rule #4294967295 (effective #4).
Error (pid: 17809; thread: 0x7fe8cf491700): main_rehash(): Got error from parse_rules_fromfile().
@xaionaro xaionaro self-assigned this Apr 3, 2015
@xaionaro xaionaro added this to the 0.4.1 milestone Apr 3, 2015
@xaionaro xaionaro added the bug label Apr 3, 2015
xaionaro added a commit that referenced this issue May 11, 2015
@xaionaro
Copy link
Member Author

It's required to reimplement extended regexps from scratch to fix this bug. Temporary removed option "--auto-add-rules-w"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant