Skip to content

Fix crash when requiring REXML#15

Open
pbevin wants to merge 4 commits into
michaeledgar:masterfrom
pbevin:master
Open

Fix crash when requiring REXML#15
pbevin wants to merge 4 commits into
michaeledgar:masterfrom
pbevin:master

Conversation

@pbevin
Copy link
Copy Markdown

@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