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

Fix crash when requiring REXML #15

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

pbevin
Copy link

@pbevin pbevin commented Dec 25, 2011

ConstantExtraction.constant_value was attempting to
evaluate """, which threw a syntax error. Changed
it to eval %Q{} or "" depending on what the code under
analysis uses.

ConstantExtraction.constant_value was attempting to
evaluate """, which threw a syntax error.  Changed
it to eval %Q{} or "" depending on what the code under
analysis uses.
The overflow happened while doing pre-order traversal of the root
sexp - this switches out the recursive definition of Sexp#dfs for
an iterative method using a stack.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant