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

Infinite recursion in eval #1183

Closed
voldenet opened this issue Apr 17, 2018 · 0 comments
Closed

Infinite recursion in eval #1183

voldenet opened this issue Apr 17, 2018 · 0 comments
Assignees
Labels
bug Unexpected problem or unintended behavior
Milestone

Comments

@voldenet
Copy link

voldenet commented Apr 17, 2018

Bug, feature, or question?

Eval.

Current behavior

Sigsegv or hang, depending on luck.

Steps to reproduce

  1. Run weechat with
test='${eval:${env:test}}' weechat
  1. Run /eval -n ${eval:${env:test}} in weechat

Desired behavior

It should return "" and warn after hitting the recursion limit

Suggested solutions

Add recursion limit.

  • WeeChat version: 2.0.1
  • OS, distribution and version: Debian GNU/Linux 9
@flashcode flashcode self-assigned this Apr 17, 2018
@flashcode flashcode added the bug Unexpected problem or unintended behavior label Apr 17, 2018
@flashcode flashcode added this to the 2.2 milestone Apr 17, 2018
@flashcode flashcode added the in progress Someone is working on this issue label Apr 17, 2018
@flashcode flashcode removed the in progress Someone is working on this issue label Apr 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants