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

Equals sign is able to crash Urchin #21

Open
Spakman opened this issue Nov 8, 2012 · 1 comment
Open

Equals sign is able to crash Urchin #21

Spakman opened this issue Nov 8, 2012 · 1 comment
Assignees
Milestone

Comments

@Spakman
Copy link
Owner

Spakman commented Nov 8, 2012

This gives an exception:

$ git co -b =
Urchin exited.

NoMethodError: undefined method `<<' for nil:NilClass
/home/mark/src/urchin/lib/parser.rb:195:in `arg_with_equals'
/home/mark/src/urchin/lib/parser.rb:281:in `words'
/home/mark/src/urchin/lib/parser.rb:142:in `parse_command'
/home/mark/src/urchin/lib/parser.rb:60:in `parse_job'
/home/mark/src/urchin/lib/parser.rb:28:in `jobs_from'
/home/mark/src/urchin/lib/shell.rb:59:in `parse_and_run'
/home/mark/src/urchin/lib/shell.rb:35:in `run'
/home/mark/src/urchin/bin/urchin:41:in `<main>'
@Spakman Spakman self-assigned this Jul 8, 2014
@Spakman
Copy link
Owner Author

Spakman commented Jun 29, 2015

A more realistic example:

chmod og= /boom

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

No branches or pull requests

1 participant